Zend compile problem on Win32
| From: | Frank M. Kromann | Date: | Sat, 23 Dec 2006 03:10:15 +0000 |
| Subject: | Zend compile problem on Win32 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-27190@lists.php.net to get a copy of this message | ||
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;