summaryrefslogtreecommitdiff
path: root/src/port/sys_internal.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-28 14:32:38 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-28 14:32:38 +0100
commitfc2bfb1089218b8d1e57d331a447af92ab44f8a0 (patch)
tree40ea38c48901c0e433587854c764b0c343ca97f6 /src/port/sys_internal.h
parent171bbff2c6532a6df566621c2d27ef2eb6161be0 (diff)
downloadwolfbones-fc2bfb1089218b8d1e57d331a447af92ab44f8a0.tar.gz
wolfbones-fc2bfb1089218b8d1e57d331a447af92ab44f8a0.tar.bz2
localtime_r and pthreads work on cygwin
Diffstat (limited to 'src/port/sys_internal.h')
-rw-r--r--src/port/sys_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index 7a3395f..8317faa 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -106,6 +106,7 @@
#if defined CYGWIN
#if OS_MAJOR_VERSION == 5
#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 1
+#define HAVE_PTHREADS
#else
#error unknown platform
#endif /* OS_MINOR_VERSION >= 0 && OS_MINOR_VERSON <= 1 */