]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Sun, 10 Aug 2008 19:48:54 +0000 (19:48 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 10 Aug 2008 19:48:54 +0000 (19:48 +0000)
ext/fileinfo/libmagic/funcs.c

index d9e84fa6dabb8dc60da03fdacc867ddef1a66581..3d8f7ae718a6ce8bdabd9287823eb05f891d7276 100644 (file)
 #include <wctype.h>
 #endif
 
+#ifndef SIZE_MAX 
+# define SIZE_MAX ((size_t) -1) 
+#endif
+
 #ifndef        lint
 FILE_RCSID("@(#)$File: funcs.c,v 1.39 2008/03/01 22:21:49 rrt Exp $")
 #endif /* lint */