[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37015 - libmicrohttpd/doc/examples
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37015 - libmicrohttpd/doc/examples |
Date: |
Mon, 11 Apr 2016 16:08:15 +0200 |
Author: Karlson2k
Date: 2016-04-11 16:08:15 +0200 (Mon, 11 Apr 2016)
New Revision: 37015
Modified:
libmicrohttpd/doc/examples/simplepost.c
Log:
simplepost.c: fixed compiling with VS before 2015
Modified: libmicrohttpd/doc/examples/simplepost.c
===================================================================
--- libmicrohttpd/doc/examples/simplepost.c 2016-04-10 21:30:03 UTC (rev
37014)
+++ libmicrohttpd/doc/examples/simplepost.c 2016-04-11 14:08:15 UTC (rev
37015)
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37015 - libmicrohttpd/doc/examples,
gnunet <=