summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird/php_pdo_firebird.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-06-12 03:09:48 +0000
committerArd Biesheuvel <abies@php.net>2004-06-12 03:09:48 +0000
commit493b89c3b1d898dca6b7a0964ff967d4e22d113f (patch)
tree473e491da59a8a83bdc98f086801a3e40e4af380 /ext/pdo_firebird/php_pdo_firebird.h
parent39a690321afe009752585e3ed42c169518df296f (diff)
downloadphp-git-493b89c3b1d898dca6b7a0964ff967d4e22d113f.tar.gz
Nearly complete implementation
No date/time fields yet ...
Diffstat (limited to 'ext/pdo_firebird/php_pdo_firebird.h')
-rw-r--r--ext/pdo_firebird/php_pdo_firebird.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/pdo_firebird/php_pdo_firebird.h b/ext/pdo_firebird/php_pdo_firebird.h
index 9eb913dd59..83b2e9304a 100644
--- a/ext/pdo_firebird/php_pdo_firebird.h
+++ b/ext/pdo_firebird/php_pdo_firebird.h
@@ -25,9 +25,15 @@ extern zend_module_entry pdo_firebird_module_entry;
#define phpext_pdo_firebird_ptr &pdo_firebird_module_entry
#ifdef PHP_WIN32
-#define PHP_PDO_FB_API __declspec(dllexport)
+# 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
#else
-#define PHP_PDO_FB_API
+# define PDO_FB_API
#endif
#ifdef ZTS