summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/port/cygwin.h2
-rw-r--r--src/include/port/win32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h
index f07c07eeff6..dd87087a92b 100644
--- a/src/include/port/cygwin.h
+++ b/src/include/port/cygwin.h
@@ -19,4 +19,4 @@
#define PGDLLIMPORT __declspec (dllimport)
#endif
-#define PGDLLEXPORT __declspec (dllimport)
+#define PGDLLEXPORT
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index da5d6614df8..7338b115c46 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -61,7 +61,7 @@
#ifdef _MSC_VER
#define PGDLLEXPORT __declspec (dllexport)
#else
-#define PGDLLEXPORT __declspec (dllimport)
+#define PGDLLEXPORT
#endif
#else /* not CYGWIN, not MSVC, not MingW */
#define PGDLLIMPORT