Clarify macro layout for win32 IMPORT.

This commit is contained in:
Bruce Momjian 2006-03-03 20:52:36 +00:00
parent f4a4755734
commit 502e9aefdc

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.50 2006/01/10 01:01:03 adunstan Exp $ */
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.51 2006/03/03 20:52:36 momjian Exp $ */
/* undefine and redefine after #include */
#undef mkdir
@ -39,6 +39,7 @@
#else /* not BUILDING_DLL */
#define DLLIMPORT __declspec (dllimport)
#endif
#elif defined(WIN32_CLIENT_ONLY)
#if defined(_DLL)
@ -46,6 +47,7 @@
#else /* not _DLL */
#define DLLIMPORT __declspec (dllimport)
#endif
#else /* not CYGWIN, not MSVC, not MingW */
#define DLLIMPORT