#in preparation for the gcc 4 visibility patch
@ -24,12 +24,6 @@
extern zend_module_entry com_dotnet_module_entry;
#define phpext_com_dotnet_ptr &com_dotnet_module_entry
#ifdef PHP_WIN32
# define PHP_COM_DOTNET_API __declspec(dllexport)
#else
# define PHP_COM_DOTNET_API
#endif
#ifdef ZTS
#include "TSRM.h"
extern zend_module_entry ctype_module_entry;
#define phpext_ctype_ptr &ctype_module_entry
#define PHP_CTYPE_API __declspec(dllexport)
#define PHP_CTYPE_API
#define phpext_ctype_ptr NULL
@ -33,12 +33,6 @@
extern zend_module_entry filter_module_entry;
#define phpext_filter_ptr &filter_module_entry
#define PHP_FILTER_API __declspec(dllexport)
#define PHP_FILTER_API
@ -26,12 +26,6 @@
extern zend_module_entry gmp_module_entry;
#define phpext_gmp_ptr &gmp_module_entry
#ifdef ZEND_WIN32
#define GMP_API __declspec(dllexport)
#define GMP_API
ZEND_MODULE_STARTUP_D(gmp);
ZEND_MODULE_DEACTIVATE_D(gmp);
ZEND_MODULE_INFO_D(gmp);
extern zend_module_entry json_module_entry;
#define phpext_json_ptr &json_module_entry
#define PHP_JSON_API __declspec(dllexport)
#define PHP_JSON_API
extern zend_module_entry mime_magic_module_entry;
#define phpext_mime_magic_ptr &mime_magic_module_entry
#define PHP_MIME_MAGIC_API __declspec(dllexport)
#define PHP_MIME_MAGIC_API
PHP_MINIT_FUNCTION(mime_magic);
PHP_MSHUTDOWN_FUNCTION(mime_magic);
PHP_RINIT_FUNCTION(mime_magic);
@ -25,11 +25,6 @@
#if HAVE_MSSQL
#define MSDBLIB
#define PHP_MSSQL_API __declspec(dllexport)
#define PHP_MSSQL_API
#include <sqlfront.h>
#include <sqldb.h>
@ -39,12 +39,6 @@ extern zend_module_entry ncurses_module_entry;
extern const zend_function_entry ncurses_functions[];
#include "php_ncurses_fe.h"
#define PHP_NCURSES_API __declspec(dllexport)
#define PHP_NCURSES_API
PHP_MINIT_FUNCTION(ncurses);
PHP_MSHUTDOWN_FUNCTION(ncurses);
PHP_MINFO_FUNCTION(ncurses);
@ -31,12 +31,6 @@
# ifndef PHP_OCI8_H
# define PHP_OCI8_H
#define PHP_OCI_API __declspec(dllexport)
#define PHP_OCI_API
# include "TSRM.h"
@ -27,12 +27,6 @@
extern zend_module_entry pcntl_module_entry;
#define phpext_pcntl_ptr &pcntl_module_entry
#define PHP_PCNTL_API __declspec(dllexport)
#define PHP_PCNTL_API
PHP_MINIT_FUNCTION(pcntl);
PHP_MSHUTDOWN_FUNCTION(pcntl);
PHP_RINIT_FUNCTION(pcntl);
extern zend_module_entry pdo_dblib_module_entry;
#define phpext_pdo_dblib_ptr &pdo_dblib_module_entry
# define PHP_PDO_DBLIB_API __declspec(dllexport)
# define PHP_PDO_DBLIB_API
@ -24,18 +24,6 @@
extern zend_module_entry pdo_firebird_module_entry;
#define phpext_pdo_firebird_ptr &pdo_firebird_module_entry
# ifdef PDO_FIREBIRD_EXPORTS
# define PDO_FB_API __declspec(dllexport)
# elif defined(COMPILE_DL_PDO_FIREBIRD)
# define PDO_FB_API __declspec(dllimport)
# else
# define PDO_FB_API
# endif
extern zend_module_entry pdo_mysql_module_entry;
#define phpext_pdo_mysql_ptr &pdo_mysql_module_entry
#define PHP_PDO_MYSQL_API __declspec(dllexport)
#define PHP_PDO_MYSQL_API
extern zend_module_entry pdo_oci_module_entry;
#define phpext_pdo_oci_ptr &pdo_oci_module_entry
#define PHP_PDO_OCI_API __declspec(dllexport)
#define PHP_PDO_OCI_API
extern zend_module_entry pdo_odbc_module_entry;
#define phpext_pdo_odbc_ptr &pdo_odbc_module_entry
#define PHP_PDO_ODBC_API __declspec(dllexport)
#define PHP_PDO_ODBC_API
extern zend_module_entry pdo_pgsql_module_entry;
#define phpext_pdo_pgsql_ptr &pdo_pgsql_module_entry
#define PHP_PDO_PGSQL_API __declspec(dllexport)
#define PHP_PDO_PGSQL_API
@ -25,12 +25,6 @@
extern zend_module_entry pdo_sqlite_module_entry;
#define phpext_pdo_sqlite_ptr &pdo_sqlite_module_entry
#define PHP_PDO_SQLITE_API __declspec(dllexport)
#define PHP_PDO_SQLITE_API
extern zend_module_entry shmop_module_entry;
#define phpext_shmop_ptr &shmop_module_entry
#define PHP_SHMOP_API __declspec(dllexport)
#define PHP_SHMOP_API
PHP_MINIT_FUNCTION(shmop);
PHP_MINFO_FUNCTION(shmop);
extern zend_module_entry simplexml_module_entry;
#define phpext_simplexml_ptr &simplexml_module_entry
#define PHP_SIMPLEXML_API __declspec(dllexport)
#define PHP_SIMPLEXML_API
@ -173,11 +173,6 @@ ZEND_BEGIN_MODULE_GLOBALS(soap)
HashTable *ref_map;
ZEND_END_MODULE_GLOBALS(soap)
#define PHP_SOAP_API __declspec(dllexport)
#define PHP_SOAP_API
@ -30,10 +30,8 @@ extern zend_module_entry sockets_module_entry;
#define phpext_sockets_ptr &sockets_module_entry
#define PHP_SOCKETS_API __declspec(dllexport)
#include <winsock.h>
#define PHP_SOCKETS_API
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
extern zend_module_entry sqlite_module_entry;
#define phpext_sqlite_ptr &sqlite_module_entry
#define PHP_SQLITE_API __declspec(dllexport)
#define PHP_SQLITE_API
extern zend_module_entry tokenizer_module_entry;
#define phpext_tokenizer_ptr &tokenizer_module_entry
#define PHP_TOKENIZER_API __declspec(dllexport)
#define PHP_TOKENIZER_API
@ -34,12 +34,6 @@ extern zend_module_entry xml_module_entry;
#include "ext/xml/expat_compat.h"
#define PHP_XML_API __declspec(dllexport)
#define PHP_XML_API
#ifdef XML_UNICODE
#error "UTF-16 Unicode support not implemented!"
extern zend_module_entry xmlreader_module_entry;
#define phpext_xmlreader_ptr &xmlreader_module_entry
#define PHP_XMLREADER_API __declspec(dllexport)
#define PHP_XMLREADER_API
@ -61,12 +61,6 @@
extern zend_module_entry xmlrpc_module_entry;
#define phpext_xmlrpc_ptr &xmlrpc_module_entry
#define PHP_XMLRPC_API __declspec(dllexport)
#define PHP_XMLRPC_API
PHP_MINIT_FUNCTION(xmlrpc);
PHP_MINFO_FUNCTION(xmlrpc);
extern zend_module_entry xsl_module_entry;
#define phpext_xsl_ptr &xsl_module_entry
#define PHP_XSL_API __declspec(dllexport)
#define PHP_XSL_API