comparison Resources/Patches/civetweb-1.11.patch @ 3130:858abf26bdf5

missing file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jan 2019 12:23:22 +0100
parents
children d5d11e43d0fb
comparison
equal deleted inserted replaced
3129:c262b10bfae1 3130:858abf26bdf5
1 diff -urEb civetweb-1.11.orig/src/civetweb.c civetweb-1.11/src/civetweb.c
2 --- civetweb-1.11.orig/src/civetweb.c 2019-01-16 10:52:21.313348500 +0100
3 +++ civetweb-1.11/src/civetweb.c 2019-01-16 11:59:58.995605655 +0100
4 @@ -20,6 +20,14 @@
5 * THE SOFTWARE.
6 */
7
8 +
9 +#if defined(__LSB_VERSION__)
10 +// These definitions are mandatory for Linux Standard Base
11 +# define NO_CACHING
12 +# define NO_ALTERNATIVE_QUEUE
13 +# define NO_THREAD_NAME
14 +#endif
15 +
16 #if defined(__GNUC__) || defined(__MINGW32__)
17 #define GCC_VERSION \
18 (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
19 @@ -536,6 +544,10 @@
20 #if !defined(EWOULDBLOCK)
21 #define EWOULDBLOCK WSAEWOULDBLOCK
22 #endif /* !EWOULDBLOCK */
23 +#if !defined(ECONNRESET)
24 +// Macro ECONNRESET is not always defined (e.g. on Visual Studio 2008)
25 +# define ECONNRESET WSAECONNRESET
26 +#endif /* !ECONNRESET */
27 #define _POSIX_
28 #define INT64_FMT "I64d"
29 #define UINT64_FMT "I64u"