diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-11 22:33:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-11 22:33:24 +0000 |
commit | 464d2cbfa3c56bd11c78667fc6e2f0a960f02f92 (patch) | |
tree | 0d5ffb0a36890fc58bf1b53b4ef872c8f5f68279 /src/include/platform.h | |
parent | 4094407e04c6cfc3b944301467f1249cdc59954c (diff) | |
download | gnunet-464d2cbfa3c56bd11c78667fc6e2f0a960f02f92.tar.gz gnunet-464d2cbfa3c56bd11c78667fc6e2f0a960f02f92.zip |
minor fixes
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index fb9c992ec..7a974b48d 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -214,6 +214,10 @@ long long atoll (const char *nptr); | |||
214 | #include "langinfo.h" | 214 | #include "langinfo.h" |
215 | #endif | 215 | #endif |
216 | 216 | ||
217 | #ifndef SIZE_MAX | ||
218 | #define SIZE_MAX ((size_t)(-1)) | ||
219 | #endif | ||
220 | |||
217 | #ifndef O_LARGEFILE | 221 | #ifndef O_LARGEFILE |
218 | #define O_LARGEFILE 0 | 222 | #define O_LARGEFILE 0 |
219 | #endif | 223 | #endif |