gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 06/09: mhd_str.h: fixed compilation with MSVC


From: gnunet
Subject: [libmicrohttpd] 06/09: mhd_str.h: fixed compilation with MSVC
Date: Wed, 21 Jul 2021 22:25:25 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit eb731135bbdd83f1d1ca5733cb39f29731661562
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Jul 21 22:42:01 2021 +0300

    mhd_str.h: fixed compilation with MSVC
---
 src/microhttpd/mhd_str.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h
index b5bb95d1..cbc1030b 100644
--- a/src/microhttpd/mhd_str.h
+++ b/src/microhttpd/mhd_str.h
@@ -34,6 +34,11 @@
 #include <stdbool.h>
 #endif /* HAVE_STDBOOL_H */
 
+#if defined(_MSC_FULL_VER) && ! defined (_SSIZE_T_DEFINED)
+#define _SSIZE_T_DEFINED
+typedef intptr_t ssize_t;
+#endif /* !_SSIZE_T_DEFINED */
+
 #ifdef MHD_FAVOR_SMALL_CODE
 #include "mhd_limits.h"
 #endif /* MHD_FAVOR_SMALL_CODE */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]