cvs: php-gtk /main php_gtk.h

From: Date: Mon, 14 Jan 2002 22:41:18 +0000
Subject: cvs: php-gtk /main php_gtk.h
Groups: php.gtk.cvs 
Request: Send a blank email to php-gtk-cvs+get-449@lists.php.net to get a copy of this message
andrei Mon Jan 14 17:41:18 2002 EDT Modified files: /php-gtk/main php_gtk.h Log: Fix compilation for non-ZTS cases. Index: php-gtk/main/php_gtk.h diff -u php-gtk/main/php_gtk.h:1.54 php-gtk/main/php_gtk.h:1.55 --- php-gtk/main/php_gtk.h:1.54 Fri Jan 11 19:11:42 2002 +++ php-gtk/main/php_gtk.h Mon Jan 14 17:41:18 2002 @@ -18,11 +18,19 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: php_gtk.h,v 1.54 2002/01/12 00:11:42 fmk Exp $: */ +/* $Id: php_gtk.h,v 1.55 2002/01/14 22:41:18 andrei Exp $: */ #ifndef _PHP_GTK_H #define _PHP_GTK_H +#include "php.h" +#include "php_ini.h" +#ifdef PHP_WIN32 +#include "config.w32.h" +#else +#include "config.h" +#endif + #if HAVE_PHP_GTK #ifdef PHP_WIN32 @@ -30,17 +38,9 @@ # define PHP_GTK_API __declspec(dllimport) # else # define PHP_GTK_API __declspec(dllexport) -#endif +# endif #else -#define PHP_GTK_API -#endif - -#include "php.h" -#include "php_ini.h" -#ifdef PHP_WIN32 -#include "config.w32.h" -#else -#include "config.h" +# define PHP_GTK_API #endif #include "php_gtk_module.h" @@ -162,8 +162,7 @@ extern char *php_gtk_zval_type_name(zval *arg); -//ZEND_EXTERN_MODULE_GLOBALS(gtk); -PHP_GTK_API extern ts_rsrc_id gtk_globals_id; +PHP_GTK_API ZEND_EXTERN_MODULE_GLOBALS(gtk); #endif /* HAVE_PHP_GTK */

« previous php.gtk.cvs (#449) next »