cataphract                               Fri, 24 Dec 2010 19:01:25 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=306625

Log:
- Fix PCRE build on Windows; closes bug #53606.

Bug: http://bugs.php.net/53606 (Open) PCRE Compile Fails, Can't open stdint.h 
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/pcre/pcrelib/pcre_internal.h
    U   php/php-src/trunk/ext/pcre/pcrelib/pcre_internal.h

Modified: php/php-src/branches/PHP_5_3/ext/pcre/pcrelib/pcre_internal.h
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pcre/pcrelib/pcre_internal.h       
2010-12-24 15:03:29 UTC (rev 306624)
+++ php/php-src/branches/PHP_5_3/ext/pcre/pcrelib/pcre_internal.h       
2010-12-24 19:01:25 UTC (rev 306625)
@@ -192,7 +192,9 @@
 have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set
 by "configure". */

-#if HAVE_STDINT_H
+#ifdef PHP_WIN32
+#include "win32/php_stdint.h"
+#elif HAVE_STDINT_H
 #include <stdint.h>
 #elif HAVE_INTTYPES_H
 #include <inttypes.h>

Modified: php/php-src/trunk/ext/pcre/pcrelib/pcre_internal.h
===================================================================
--- php/php-src/trunk/ext/pcre/pcrelib/pcre_internal.h  2010-12-24 15:03:29 UTC 
(rev 306624)
+++ php/php-src/trunk/ext/pcre/pcrelib/pcre_internal.h  2010-12-24 19:01:25 UTC 
(rev 306625)
@@ -192,7 +192,9 @@
 have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set
 by "configure". */

-#if HAVE_STDINT_H
+#ifdef PHP_WIN32
+#include "win32/php_stdint.h"
+#elif HAVE_STDINT_H
 #include <stdint.h>
 #elif HAVE_INTTYPES_H
 #include <inttypes.h>

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to