summaryrefslogtreecommitdiff
path: root/src/include/port/cygwin.h
diff options
context:
space:
mode:
authorItagaki Takahiro <itagaki.takahiro@gmail.com>2010-11-10 12:17:43 +0900
committerItagaki Takahiro <itagaki.takahiro@gmail.com>2010-11-10 12:19:40 +0900
commit244cc39d854a10b782840473678a2d40fd42cc06 (patch)
treee5227168b45b4089db34f7f9b38e345f1580ef78 /src/include/port/cygwin.h
parent9743783d5a036ba837d1879b575756ad05cda935 (diff)
Don't use __declspec (dllimport) for PGDLLEXPORT to reduce warnings
by gcc version 4 on mingw and cygwin. We don't use dllexport here because dllexport and dllwrap don't work well together.
Diffstat (limited to 'src/include/port/cygwin.h')
-rw-r--r--src/include/port/cygwin.h2
1 files changed, 1 insertions, 1 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