diff options
Diffstat (limited to 'ext/pdo/php_pdo.h')
| -rwxr-xr-x | ext/pdo/php_pdo.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo.h b/ext/pdo/php_pdo.h index 57c71374f8..832c05fb62 100755 --- a/ext/pdo/php_pdo.h +++ b/ext/pdo/php_pdo.h @@ -27,7 +27,7 @@ extern zend_module_entry pdo_module_entry;  #define phpext_pdo_ptr &pdo_module_entry  #ifdef PHP_WIN32 -# ifdef PDO_EXPORTS +# if defined(PDO_EXPORTS) || (defined(PHP_EXPORTS) && !defined(COMPILE_DL_PDO))  #  define PDO_API __declspec(dllexport)  # elif defined(COMPILE_DL_PDO)  #  define PDO_API __declspec(dllimport)  | 
