Hello Everyone,

Here is a patch for PHP6 that allows the jason extension to be compiled as
a shared object on win32.

- Frank

Index: zend_strtol.c
===================================================================
RCS file: /repository/ZendEngine2/zend_strtol.c,v
retrieving revision 1.4
diff -u -r1.4 zend_strtol.c
--- zend_strtol.c       7 Dec 2006 18:56:25 -0000       1.4
+++ zend_strtol.c       23 Dec 2006 03:04:01 -0000
@@ -31,6 +31,7 @@
  * SUCH DAMAGE.
  */
 
+#include "zend.h"
 #include <limits.h>
 #include <ctype.h>
 #include <errno.h>
@@ -44,7 +45,7 @@
  *
  * Ignores `locale' stuff.
  */
-long
+ZEND_API long
 zend_u_strtol(nptr, endptr, base)
        const UChar *nptr;
        UChar **endptr;

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to