summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-03-30 09:23:42 +0000
committerSimon Marlow <marlowsd@gmail.com>2011-03-30 09:23:42 +0000
commit67a3085716af0e2334dece594ec42fcf37d43bda (patch)
tree1874c1c96b0b598c0caef54cd4a9914462b84245
parent035b8ebb5405efbcbfd3474821a877add1feca1e (diff)
downloadhaskell-67a3085716af0e2334dece594ec42fcf37d43bda.tar.gz
Windows build fix: ignore pthread.h if it exists (#4989)
-rw-r--r--includes/rts/OSThreads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/OSThreads.h b/includes/rts/OSThreads.h
index a24459cc6c..c70f418229 100644
--- a/includes/rts/OSThreads.h
+++ b/includes/rts/OSThreads.h
@@ -17,7 +17,7 @@
#if defined(THREADED_RTS) /* to the end */
-# if defined(HAVE_PTHREAD_H) && !defined(WANT_NATIVE_WIN32_THREADS)
+#if defined(HAVE_PTHREAD_H) && !defined(mingw32_HOST_OS)
#if CMINUSMINUS