[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 139/335: microhttpd2.h: updated and reduced the list of
From: |
gnunet |
Subject: |
[libmicrohttpd] 139/335: microhttpd2.h: updated and reduced the list of required system types |
Date: |
Sat, 27 Jul 2024 22:00:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit 6c9771846dfcaf12513ebfc8f77795e5c2c403e4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Apr 8 16:20:19 2024 +0200
microhttpd2.h: updated and reduced the list of required system types
---
src/include/microhttpd2.h | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
index 9386c58a..23286bcf 100644
--- a/src/include/microhttpd2.h
+++ b/src/include/microhttpd2.h
@@ -161,24 +161,18 @@ MHD_C_DECLRATIONS_START_HERE_
to build out-of-the-box for beginning users on common systems.
If generic headers don't work on your platform, include headers
- which define 'va_list', 'size_t', 'ssize_t', 'intptr_t',
- 'uint16_t', 'uint32_t', 'uint64_t', 'off_t', 'struct sockaddr',
- 'socklen_t', 'fd_set' and "#define MHD_PLATFORM_H" before
- including "microhttpd.h". Then the following "standard"
+ which define 'va_list', 'size_t', 'uint_fast16_t', 'uint_fat32_t',
+ 'uint_fast64_t', 'struct sockaddr', and "#define MHD_PLATFORM_H"
+ before including "microhttpd.h". Then the following "standard"
includes won't be used (which might be a good idea, especially
on platforms where they do not exist).
*/
-// TODO: review the list of includes, reduce it
#ifndef MHD_PLATFORM_H
#include <stdarg.h>
#include <stdint.h>
#include <sys/types.h>
#if defined(_WIN32) && ! defined(__CYGWIN__)
#include <ws2tcpip.h>
-#if defined(_MSC_FULL_VER) && ! defined(_SSIZE_T_DEFINED)
-#define _SSIZE_T_DEFINED
-typedef intptr_t ssize_t;
-#endif /* !_SSIZE_T_DEFINED */
#else
#include <unistd.h>
#include <sys/time.h>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 122/335: microhttpd2.h: converted response options, (continued)
- [libmicrohttpd] 122/335: microhttpd2.h: converted response options, gnunet, 2024/07/27
- [libmicrohttpd] 126/335: m1 report update, gnunet, 2024/07/27
- [libmicrohttpd] 136/335: microhttpd.h: backported formatting workaround, gnunet, 2024/07/27
- [libmicrohttpd] 128/335: Unified Work Mode options names, gnunet, 2024/07/27
- [libmicrohttpd] 142/335: microhttpd2.h: fixes for doxy reported warnings, gnunet, 2024/07/27
- [libmicrohttpd] 129/335: Updated Work Mode options in comments, gnunet, 2024/07/27
- [libmicrohttpd] 116/335: script: updated, gnunet, 2024/07/27
- [libmicrohttpd] 119/335: add example, gnunet, 2024/07/27
- [libmicrohttpd] 138/335: english fixes, gnunet, 2024/07/27
- [libmicrohttpd] 137/335: microhttpd2.h: fixed macro which had strange parsing results, gnunet, 2024/07/27
- [libmicrohttpd] 139/335: microhttpd2.h: updated and reduced the list of required system types,
gnunet <=
- [libmicrohttpd] 131/335: Partial revert of 83205a8ab9f030408f8cb89c8cfa46196a5eef04., gnunet, 2024/07/27
- [libmicrohttpd] 133/335: Fixed name of the option parameter in the database, gnunet, 2024/07/27
- [libmicrohttpd] 135/335: microhttpd2.h: workaround for uncrustify bug, gnunet, 2024/07/27
- [libmicrohttpd] 152/335: -fix config, gnunet, 2024/07/27
- [libmicrohttpd] 154/335: Fixed reused enum values, gnunet, 2024/07/27
- [libmicrohttpd] 141/335: D Options DB: update, gnunet, 2024/07/27
- [libmicrohttpd] 155/335: microhttpd2.h: applied formatting, gnunet, 2024/07/27
- [libmicrohttpd] 157/335: stash, gnunet, 2024/07/27
- [libmicrohttpd] 144/335: add version check to uncrustify hook, gnunet, 2024/07/27
- [libmicrohttpd] 143/335: -fix _some_ compiler errors, gnunet, 2024/07/27