hholzgra                Mon Oct 21 10:56:43 2002 EDT

  Modified files:              
    /php4/ext/ncurses   php_ncurses.h 
  Log:
  ZTS build fix
  
  
Index: php4/ext/ncurses/php_ncurses.h
diff -u php4/ext/ncurses/php_ncurses.h:1.7 php4/ext/ncurses/php_ncurses.h:1.8
--- php4/ext/ncurses/php_ncurses.h:1.7  Fri Sep 27 18:33:14 2002
+++ php4/ext/ncurses/php_ncurses.h      Mon Oct 21 10:56:42 2002
@@ -59,7 +59,7 @@
 */
 
 #ifdef ZTS
-#define NCURSES_G(v) (ncurses_globals->v)
+#define NCURSES_G(v) TSRMG(ncurses_globals_id, zend_ncurses_globals *, v)
 #define NCURSES_LS_FETCH() zend_ncurses_globals *ncurses_globals = 
ts_resource(ncurses_globals_id)
 #else
 #define NCURSES_G(v) (ncurses_globals.v)



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

Reply via email to