postgresql/src/include/port/cygwin.h

19 lines
340 B
C
Raw Normal View History

2010-09-20 22:08:53 +02:00
/* src/include/port/cygwin.h */
#include <cygwin/version.h>
/*
* Check for b20.1 and disable AF_UNIX family socket support.
*/
#if CYGWIN_VERSION_DLL_MAJOR < 1001
#undef HAVE_UNIX_SOCKETS
#endif
#ifdef BUILDING_DLL
#define PGDLLIMPORT __declspec (dllexport)
#else
#define PGDLLIMPORT __declspec (dllimport)
#endif
#define PGDLLEXPORT