mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-08 23:43:54 +03:00
largepost.c: fixed compiling by VS
This commit is contained in:
1 parent
9c113d780a
commit
2cf1ffafba
1 file changed
+11
@@ -13,6 +13,17 @@
|
||||
#include <string.h>
|
||||
#include <microhttpd.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifndef strcasecmp
|
||||
#define strcasecmp(a,b) _stricmp((a),(b))
|
||||
#endif /* !strcasecmp */
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER+0 <= 1800
|
||||
/* Substitution is OK while return value is not used */
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#define PORT 8888
|
||||
#define POSTBUFFERSIZE 512
|
||||
#define MAXCLIENTS 2
|
||||
|
||||
Reference in new issue
Block a user