Commit 844ed5dc authored by Itagaki Takahiro's avatar Itagaki Takahiro

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.
parent b47953f9
......@@ -19,4 +19,4 @@
#define PGDLLIMPORT __declspec (dllimport)
#endif
#define PGDLLEXPORT __declspec (dllimport)
#define PGDLLEXPORT
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment