summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r--ext/mysql/php_mysql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h
index 9b356e0e32..aff9a145ae 100644
--- a/ext/mysql/php_mysql.h
+++ b/ext/mysql/php_mysql.h
@@ -27,7 +27,7 @@
# define HAVE_MYSQL 1
#endif
-#if WIN32||WINNT
+#ifdef PHP_WIN32
#define PHP_MYSQL_API __declspec(dllexport)
#else
#define PHP_MYSQL_API