aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_limits.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-04-11 20:07:36 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-04-11 20:07:36 +0000
commitaff8b7214bae150c5aac8544396cd938ebc21e47 (patch)
tree2bd24ef20561e51d9f1fc1b760fdedec52c20a25 /src/microhttpd/mhd_limits.h
parentdc1eb9a9d79d4272d8d29348ca37a10634eb7e8f (diff)
downloadlibmicrohttpd-aff8b7214bae150c5aac8544396cd938ebc21e47.tar.gz
libmicrohttpd-aff8b7214bae150c5aac8544396cd938ebc21e47.zip
mhd_str: added MHD_str_to_uint64_() and MHD_str_to_uint64_n_() functions for US-ASCII-only
operations, independently on locale
Diffstat (limited to 'src/microhttpd/mhd_limits.h')
-rw-r--r--src/microhttpd/mhd_limits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_limits.h b/src/microhttpd/mhd_limits.h
index 5ce2f9c4..c8eff094 100644
--- a/src/microhttpd/mhd_limits.h
+++ b/src/microhttpd/mhd_limits.h
@@ -44,6 +44,10 @@
44#define INT32_MAX ((int32_t)0x7FFFFFFF) 44#define INT32_MAX ((int32_t)0x7FFFFFFF)
45#endif /* !INT32_MAX */ 45#endif /* !INT32_MAX */
46 46
47#ifndef UINT64_MAX
48#define UINT64_MAX ((uint64_t)0xFFFFFFFFFFFFFFFF)
49#endif /* !INT32_MAX */
50
47#ifndef SIZE_MAX 51#ifndef SIZE_MAX
48#define SIZE_MAX ((size_t) ~((size_t)0)) 52#define SIZE_MAX ((size_t) ~((size_t)0))
49#endif /* !SIZE_MAX */ 53#endif /* !SIZE_MAX */