mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
simplepost.c: fixed compiling with VS before 2015
This commit is contained in:
@@ -13,6 +13,11 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#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 MAXNAMESIZE 20
|
||||
|
||||
Reference in New Issue
Block a user