mirror of
https://github.com/simtactics/niotso.git
synced 2025-03-23 11:22:20 +00:00
23 lines
436 B
C
23 lines
436 B
C
|
/* 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
|
||
|
|
||
|
#if __GNUC__ && ! defined (__declspec)
|
||
|
#error You need egcs 1.1 or newer for compiling!
|
||
|
#endif
|
||
|
|
||
|
#ifdef BUILDING_DLL
|
||
|
#define PGDLLIMPORT __declspec (dllexport)
|
||
|
#else
|
||
|
#define PGDLLIMPORT __declspec (dllimport)
|
||
|
#endif
|
||
|
|
||
|
#define PGDLLEXPORT
|