cvs: php-src(PHP_5_3) /ext/fileinfo/libmagic cdf.c
| From: | Felipe Pena | Date: | Wed, 17 Jun 2009 16:20:04 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/fileinfo/libmagic cdf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58796@lists.php.net to get a copy of this message | ||
felipe Wed Jun 17 16:20:04 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/fileinfo/libmagic cdf.c
Log:
- MFH: Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus)
http://cvs.php.net/viewvc.cgi/php-src/ext/fileinfo/libmagic/cdf.c?r1=1.1.2.5&r2=1.1.2.6&diff_format=u
Index: php-src/ext/fileinfo/libmagic/cdf.c
diff -u php-src/ext/fileinfo/libmagic/cdf.c:1.1.2.5 php-src/ext/fileinfo/libmagic/cdf.c:1.1.2.6
--- php-src/ext/fileinfo/libmagic/cdf.c:1.1.2.5 Mon May 4 20:54:53 2009
+++ php-src/ext/fileinfo/libmagic/cdf.c Wed Jun 17 16:20:04 2009
@@ -47,6 +47,10 @@
#include <unistd.h>
#endif
+#ifndef UINT32_MAX
+# define UINT32_MAX (0xffffffff)
+#endif
+
#include <string.h>
#include <time.h>
#include <ctype.h>