summaryrefslogtreecommitdiff
path: root/ext/mysql/php3_mysql.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-06-04 12:51:41 +0000
committerZeev Suraski <zeev@php.net>1999-06-04 12:51:41 +0000
commit1ecca4b8e882165203b383fa91bb4fb57dac2c94 (patch)
tree4350e2b6c153670ff397117e6630dded83ac27e9 /ext/mysql/php3_mysql.h
parentcf757f7c89c7ccccd81601d89028df623e3629ed (diff)
downloadphp-git-1ecca4b8e882165203b383fa91bb4fb57dac2c94.tar.gz
Fix UNIX MySQL build
Diffstat (limited to 'ext/mysql/php3_mysql.h')
-rw-r--r--ext/mysql/php3_mysql.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/mysql/php3_mysql.h b/ext/mysql/php3_mysql.h
index fc964a1945..3481293776 100644
--- a/ext/mysql/php3_mysql.h
+++ b/ext/mysql/php3_mysql.h
@@ -36,9 +36,12 @@
#if COMPILE_DL
#undef HAVE_MYSQL
#define HAVE_MYSQL 1
-# if WIN32||WINNT
-# define PHP_MYSQL_API __declspec(dllexport)
-# endif
+#endif
+
+#if WIN32||WINNT
+#define PHP_MYSQL_API __declspec(dllexport)
+#else
+#define PHP_MYSQL_API
#endif
#if HAVE_MYSQL