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.
This commit is contained in:
parent
9743783d5a
commit
244cc39d85
@ -19,4 +19,4 @@
|
|||||||
#define PGDLLIMPORT __declspec (dllimport)
|
#define PGDLLIMPORT __declspec (dllimport)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PGDLLEXPORT __declspec (dllimport)
|
#define PGDLLEXPORT
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define PGDLLEXPORT __declspec (dllexport)
|
#define PGDLLEXPORT __declspec (dllexport)
|
||||||
#else
|
#else
|
||||||
#define PGDLLEXPORT __declspec (dllimport)
|
#define PGDLLEXPORT
|
||||||
#endif
|
#endif
|
||||||
#else /* not CYGWIN, not MSVC, not MingW */
|
#else /* not CYGWIN, not MSVC, not MingW */
|
||||||
#define PGDLLIMPORT
|
#define PGDLLIMPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user