aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/win.h
blob: f30979fd2213ea1cc9bc0e5aa0aab41b59cf3ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;

#ifndef O_DIROPEN
#define O_DIROPEN	0x100000	/* should be in sys/fcntl.h */
#endif

#define tzname _tzname			/* should be in time.h? */
#define USE_POSIX_TIME
#define HAVE_INT_TIMEZONE		/* has int _timezone */

#include <cygwin/version.h>
#if (CYGWIN_VERSION_API_MAJOR >= 0) && (CYGWIN_VERSION_API_MINOR >= 8)
#define sys_nerr _sys_nerr
#endif