cvs: php-src /ext/fileinfo/libmagic cdf.c
| From: | Felipe Pena | Date: | Wed, 17 Jun 2009 16:19:48 +0000 |
| Subject: | cvs: php-src /ext/fileinfo/libmagic cdf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58795@lists.php.net to get a copy of this message | ||
felipe Wed Jun 17 16:19:48 2009 UTC
Modified files:
/php-src/ext/fileinfo/libmagic cdf.c
Log:
- 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.4&r2=1.5&diff_format=u
Index: php-src/ext/fileinfo/libmagic/cdf.c
diff -u php-src/ext/fileinfo/libmagic/cdf.c:1.4 php-src/ext/fileinfo/libmagic/cdf.c:1.5
--- php-src/ext/fileinfo/libmagic/cdf.c:1.4 Mon May 4 20:52:43 2009
+++ php-src/ext/fileinfo/libmagic/cdf.c Wed Jun 17 16:19:48 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>