summaryrefslogtreecommitdiff
path: root/src/include/port/cygwin.h
diff options
context:
space:
mode:
authorItagaki Takahiro <itagaki.takahiro@gmail.com>2010-05-28 16:34:15 +0000
committerItagaki Takahiro <itagaki.takahiro@gmail.com>2010-05-28 16:34:15 +0000
commite54b0cba96683ae9a33458a9cbd5ea53c479754d (patch)
treec5e5aba64b8172d49bad2b0ec8a4fb9bb5ae5253 /src/include/port/cygwin.h
parentfe76f93d11a21bc851747433ac70c04ab3797483 (diff)
PGDLLEXPORT is __declspec (dllexport) only on MSVC,
but is __declspec (dllimport) on other compilers because cygwin and mingw don't like dllexport.
Diffstat (limited to 'src/include/port/cygwin.h')
-rw-r--r--src/include/port/cygwin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h
index cb88bc08901..f07c07eeff6 100644
--- a/src/include/port/cygwin.h
+++ b/src/include/port/cygwin.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/port/cygwin.h,v 1.8 2010/05/27 07:59:48 itagaki Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/cygwin.h,v 1.9 2010/05/28 16:34:15 itagaki Exp $ */
#include <cygwin/version.h>
@@ -19,4 +19,4 @@
#define PGDLLIMPORT __declspec (dllimport)
#endif
-#define PGDLLEXPORT __declspec (dllexport)
+#define PGDLLEXPORT __declspec (dllimport)