summaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h4
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