diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-07-07 18:32:33 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-07-07 18:32:33 +0000 |
commit | 2c842e6b95498e1dc56584b7e0c1570b9cd0792c (patch) | |
tree | c635986412eb76f04bcf317a99b0540192a803fb /src/microhttpd/daemon.c | |
parent | 4a251757ab5c98c9d747e73f310d0c28cf991b05 (diff) | |
download | libmicrohttpd-2c842e6b95498e1dc56584b7e0c1570b9cd0792c.tar.gz libmicrohttpd-2c842e6b95498e1dc56584b7e0c1570b9cd0792c.zip |
Move all internal limits definitions to MHD_limits.h
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 3fb8d753..da8477e4 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include "response.h" | 36 | #include "response.h" |
37 | #include "connection.h" | 37 | #include "connection.h" |
38 | #include "memorypool.h" | 38 | #include "memorypool.h" |
39 | #include <limits.h> | 39 | #include "MHD_limits.h" |
40 | #include "autoinit_funcs.h" | 40 | #include "autoinit_funcs.h" |
41 | 41 | ||
42 | #if HAVE_SEARCH_H | 42 | #if HAVE_SEARCH_H |
@@ -117,10 +117,6 @@ | |||
117 | #define EPOLL_CLOEXEC 0 | 117 | #define EPOLL_CLOEXEC 0 |
118 | #endif | 118 | #endif |
119 | 119 | ||
120 | #ifndef INT32_MAX | ||
121 | #define INT32_MAX ((int32_t)0x7FFFFFFF) | ||
122 | #endif /* !INT32_MAX */ | ||
123 | |||
124 | 120 | ||
125 | /** | 121 | /** |
126 | * Default implementation of the panic function, | 122 | * Default implementation of the panic function, |