summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/xml/expat/expat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/expat/expat.h b/ext/xml/expat/expat.h
index 092507c9b1..c137f61226 100644
--- a/ext/xml/expat/expat.h
+++ b/ext/xml/expat/expat.h
@@ -19,7 +19,7 @@
#ifndef XMLPARSEAPI
#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
-#ifdef _STATIC
+#ifdef PHP_EXPORTS
#define XMLPARSEAPI(type) type __cdecl
#else
#define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl