diff options
| author | Bruce Momjian <bruce@momjian.us> | 2004-01-26 22:51:56 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2004-01-26 22:51:56 +0000 |
| commit | f4921e5ca38aac1214854e7226e8bb3291d60485 (patch) | |
| tree | 5083d30b197f6c7e6a12fa590fb5977dd84a4c68 /src/include/port/win32.h | |
| parent | af29187f2e9d327ef2c54f13c9091e41cc8b7428 (diff) | |
Attached is a patch that fixes some trivial typos and alignment. Please
apply.
Alvaro Herrera
Diffstat (limited to 'src/include/port/win32.h')
| -rw-r--r-- | src/include/port/win32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index a9aa6182161..3a34a70b06f 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.13 2003/11/29 19:52:08 pgsql Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.14 2004/01/26 22:51:56 momjian Exp $ */ /* undefine and redefine after #include */ #undef mkdir @@ -15,7 +15,7 @@ #define NOFILE 100 /* defines for dynamic linking on Win32 platform */ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(__MINGW32__) #if __GNUC__ && ! defined (__declspec) #error You need egcs 1.1 or newer for compiling! @@ -27,7 +27,7 @@ #define DLLIMPORT __declspec (dllimport) #endif -#elif defined(WIN32) && defined(_MSC_VER) /* not CYGWIN */ +#elif defined(WIN32) && defined(_MSC_VER) /* not CYGWIN or MingW */ #if defined(_DLL) #define DLLIMPORT __declspec (dllexport) @@ -35,7 +35,7 @@ #define DLLIMPORT __declspec (dllimport) #endif -#else /* not CYGWIN, not MSVC */ +#else /* not CYGWIN, not MSVC, not MingW */ #define DLLIMPORT #endif |
