]> granicus.if.org Git - postgresql/blob - src/include/port/win.h
I have created a small patch that makes possible to compile pgsql on newer
[postgresql] / src / include / port / win.h
1 #define JMP_BUF
2 #define HAS_TEST_AND_SET
3 typedef unsigned char slock_t;
4
5 #ifndef O_DIROPEN
6 #define O_DIROPEN       0x100000        /* should be in sys/fcntl.h */
7 #endif
8
9 #define tzname _tzname                  /* should be in time.h? */
10 #define USE_POSIX_TIME
11 #define HAVE_INT_TIMEZONE               /* has int _timezone */
12
13 #include <cygwin/version.h>
14 #if (CYGWIN_VERSION_API_MAJOR >= 0) && (CYGWIN_VERSION_API_MINOR >= 8)
15 #define sys_nerr _sys_nerr
16 #endif