]> granicus.if.org Git - php/commitdiff
MFB:-r1.139.2.2 Export symbols that will allow building WDDX as shared object
authorJani Taskinen <jani@php.net>
Fri, 5 Oct 2007 15:19:47 +0000 (15:19 +0000)
committerJani Taskinen <jani@php.net>
Fri, 5 Oct 2007 15:19:47 +0000 (15:19 +0000)
ext/standard/basic_functions.c
ext/standard/basic_functions.h

index c3ff9ce48ebe840649723ec0e115131c8d1ff752..9516f7027c43f8a5b93762869c7f987688cb4f4d 100644 (file)
@@ -100,7 +100,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
 #ifdef ZTS
 PHPAPI int basic_globals_id;
 #else
-php_basic_globals basic_globals;
+PHPAPI php_basic_globals basic_globals;
 #endif
 
 #include "php_fopen_wrappers.h"
index 5c49889032359c555b9c9dae222bf0d9b65eb48c..42f10dfc0f90ca401ce0369745a2e0b12f15c331 100644 (file)
@@ -230,7 +230,7 @@ typedef struct _php_basic_globals {
 PHPAPI extern int basic_globals_id;
 #else
 #define BG(v) (basic_globals.v)
-extern php_basic_globals basic_globals;
+PHPAPI extern php_basic_globals basic_globals;
 #endif
 
 #if HAVE_PUTENV