[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: microhttpd.h: reorde
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: microhttpd.h: reordered includes for better compatibility, Updated ChangeLog |
Date: |
Sun, 09 Jun 2019 19:05:42 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new e9493e0d microhttpd.h: reordered includes for better compatibility,
Updated ChangeLog
e9493e0d is described below
commit e9493e0d3487b533e6ec77fabca29fe578cfb4bf
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Jun 9 20:03:20 2019 +0300
microhttpd.h: reordered includes for better compatibility,
Updated ChangeLog
---
ChangeLog | 8 ++++++++
src/include/microhttpd.h | 10 +++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0197aee4..e33b9406 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sun Jun 09 2019 20:03:16 MSK
+ Updated HTTP headers, methods and status codes from registries,
+ Added scripts to import new headers, methods and status codes from
+ registries,
+ Minor doxyget comment fix,
+ Added missing MSVS project files to tarball.
+ Reodered includes in microhttpd.h -EG
+
Mon 03 Jun 2019 11:45:52 PM CEST
Apply MHD_-prefix to hash functions, even if they are not in the
officially exported API. -CG/DB
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 577ebc59..95087887 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -101,6 +101,13 @@ extern "C"
on platforms where they do not exist).
*/
#ifndef MHD_PLATFORM_H
+#if defined(_WIN32) && ! defined(__CYGWIN__) && \
+ ! defined(_CRT_DECLARE_NONSTDC_NAMES)
+#define _CRT_DECLARE_NONSTDC_NAMES 1
+#endif /* _WIN32 && ! __CYGWIN__ && ! _CRT_DECLARE_NONSTDC_NAMES */
+#include <stdarg.h>
+#include <stdint.h>
+#include <sys/types.h>
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h>
#include <sys/time.h>
@@ -114,9 +121,6 @@ extern "C"
typedef intptr_t ssize_t;
#endif /* !_SSIZE_T_DEFINED */
#endif /* _WIN32 && ! __CYGWIN__ */
-#include <stdarg.h>
-#include <stdint.h>
-#include <sys/types.h>
#endif
#if defined(__CYGWIN__) && !defined(_SYS_TYPES_FD_SET)
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: microhttpd.h: reordered includes for better compatibility, Updated ChangeLog,
gnunet <=