summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/gd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 20933f698d..af6d8a32ab 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -41,6 +41,7 @@
#ifdef PHP_WIN32
# include <io.h>
# include <fcntl.h>
+#define PHPAPI __declspec(dllexport)
#endif
#if HAVE_LIBGD