diff options
Diffstat (limited to 'src/include/port')
| -rw-r--r-- | src/include/port/cygwin.h | 5 | ||||
| -rw-r--r-- | src/include/port/win32.h | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h index 6d46f0c774..cb88bc0890 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.7 2007/07/25 12:22:53 mha Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/cygwin.h,v 1.8 2010/05/27 07:59:48 itagaki Exp $ */ #include <cygwin/version.h> @@ -17,5 +17,6 @@ #define PGDLLIMPORT __declspec (dllexport) #else #define PGDLLIMPORT __declspec (dllimport) - #endif + +#define PGDLLEXPORT __declspec (dllexport) diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 6dbda80f4f..d5d309bc13 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.93 2010/02/16 19:26:02 mha Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.94 2010/05/27 07:59:48 itagaki Exp $ */ #if defined(_MSC_VER) || defined(__BORLANDC__) #define WIN32_ONLY_COMPILER @@ -57,9 +57,12 @@ #else /* not BUILDING_DLL */ #define PGDLLIMPORT __declspec (dllimport) #endif -#else /* not CYGWIN, not MSVC, not MingW */ +#define PGDLLEXPORT __declspec (dllexport) + +#else /* not CYGWIN, not MSVC, not MingW */ #define PGDLLIMPORT +#define PGDLLEXPORT #endif |
