aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar stolz <unknown>2004-11-12 14:56:13 +0000
committerGravatar stolz <unknown>2004-11-12 14:56:13 +0000
commitff439442a6eba116a3735535cabd51d7f4899837 (patch)
tree3880015bea0baa3943bea7f955940197c8de6776 /include
parentdfa057af04178f247222c8b7caf12c834b81fec2 (diff)
[project @ 2004-11-12 14:56:13 by stolz]
Fix previous commit: Don't handle Solaris2-flag _POSIX_PTHREAD_SEMANTICS in configure at all but simply #ifdef solaris2_TARGET_OS #define ... it in the header-file.
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h
index 56e8eca..8743c67 100644
--- a/include/HsUnix.h
+++ b/include/HsUnix.h
@@ -20,6 +20,10 @@
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
+#ifdef solaris2_TARGET_OS
+#define _POSIX_PTHREAD_SEMANTICS
+#endif
+
#include <stdlib.h>
#include <stdio.h>