build fix

This commit is contained in:
lv-426
2008-07-07 14:29:41 +00:00
parent dd1798c067
commit df80d220e2
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ AC_ARG_WITH(libgcrypt,
# define the minimal version of libgcrypt required
MHD_GCRYPT_VERSION=1:1.2.4
AC_DEFINE_UNQUOTED([MHD_GCRYPT_VERSION], $MHD_GCRYPT_VERSION, [gcrypt lib version])
AC_DEFINE_UNQUOTED([MHD_GCRYPT_VERSION], "$MHD_GCRYPT_VERSION", [gcrypt lib version])
AC_SUBST(GCRYPT_LIB_PATH)
AC_SUBST(GCRYPT_LDFLAGS)
+2 -2
View File
@@ -42,14 +42,14 @@ MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...)
VFPRINTF (stderr, format, va);
va_end (va);
}
#endif
void
MHD_tls_log_func (int level, const char *str)
{
fprintf (stdout, "|<%d>| %s", level, str);
}
#endif
/**
* Process escape sequences ('+'=space, %HH)
+2 -1
View File
@@ -66,8 +66,9 @@
* messages.
*/
void MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...);
void MHD_tls_log_func (int level, const char *str);
#endif
void MHD_tls_log_func (int level, const char *str);
/**
* Process escape sequences ('+'=space, %HH).