diff options
| author | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-11-10 12:17:43 +0900 |
|---|---|---|
| committer | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-11-10 12:19:40 +0900 |
| commit | 244cc39d854a10b782840473678a2d40fd42cc06 (patch) | |
| tree | e5227168b45b4089db34f7f9b38e345f1580ef78 /src/include/port/win32.h | |
| parent | 9743783d5a036ba837d1879b575756ad05cda935 (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/win32.h')
| -rw-r--r-- | src/include/port/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
