2010-09-20 22:08:53 +02:00
|
|
|
/* src/include/port/cygwin.h */
|
2003-03-21 18:18:34 +01:00
|
|
|
|
|
|
|
#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
|
2007-07-25 14:22:54 +02:00
|
|
|
#define PGDLLIMPORT __declspec (dllexport)
|
2003-03-21 18:18:34 +01:00
|
|
|
#else
|
2007-07-25 14:22:54 +02:00
|
|
|
#define PGDLLIMPORT __declspec (dllimport)
|
2003-03-21 18:18:34 +01:00
|
|
|
#endif
|
2010-05-27 09:59:48 +02:00
|
|
|
|
2010-11-10 04:17:43 +01:00
|
|
|
#define PGDLLEXPORT
|