ZEND_SET_SYMBOL compilation error
| From: | Joe Wong | Date: | Wed, 12 Mar 2003 08:01:45 +0000 |
| Subject: | ZEND_SET_SYMBOL compilation error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139236@lists.php.net to get a copy of this message | ||
Hi, I am writing a PHP extension on Win32. I put a ZEND_SET_SYMBOL in the
php_init_xxx_globals() and it failed to compile under Win32 using VC++ 5.0,
the error I got:
Y:\php-4.3.0\ext\wmcphp\wmcphp.c(138) : error C2065: 'tsrm_ls' : undeclared
identifier
Which corresponds to:
ZEND_SET_SYMBOL(EG(active_symbol_table), "wmc_sort_by_uid", uid);
Any idea? It can be compiled under Linux without any problem..
Thanks!