From 14819d0f1445dff2dede8abc189112ace600504f Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Sun, 13 Feb 2005 23:19:00 +0000 Subject: [PATCH] Allow pdo to be statically compiled in, while modules remain dynamic --- ext/pdo/php_pdo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.1