X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_pq.h;h=c647280c8d04fc586a86dcb9dab7fd05c3f302df;hb=da7b5981c5ae28504434c492d468913645111d66;hp=4c090e18c50274a0e8881d2d7b661fbca551e23e;hpb=e5a91b5de306354451031b19a64cc2c7c852da49;p=m6w6%2Fext-pq diff --git a/php_pq.h b/php_pq.h index 4c090e1..c647280 100644 --- a/php_pq.h +++ b/php_pq.h @@ -14,7 +14,7 @@ #ifndef PHP_PQ_H #define PHP_PQ_H -#define PHP_PQ_EXT_VERSION "0.3.0dev" +#define PHP_PQ_VERSION "0.5.2" int pq_module_number; zend_module_entry pq_module_entry; @@ -23,9 +23,9 @@ zend_module_entry pq_module_entry; #ifdef PHP_WIN32 # define PHP_PQ_API __declspec(dllexport) #elif defined(__GNUC__) && __GNUC__ >= 4 -# define PHP_PQ_API __attribute__ ((visibility("default"))) +# define PHP_PQ_API extern __attribute__ ((visibility("default"))) #else -# define PHP_PQ_API +# define PHP_PQ_API extern #endif #ifdef ZTS