From 464d2cbfa3c56bd11c78667fc6e2f0a960f02f92 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 11 Jun 2010 22:33:24 +0000 Subject: minor fixes --- src/include/platform.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include/platform.h') 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); #include "langinfo.h" #endif +#ifndef SIZE_MAX +#define SIZE_MAX ((size_t)(-1)) +#endif + #ifndef O_LARGEFILE #define O_LARGEFILE 0 #endif -- cgit v1.2.3