Windows build fixes
authorSimon Marlow <marlowsd@gmail.com>
Mon, 3 Aug 2009 14:23:46 +0000 (14:23 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 3 Aug 2009 14:23:46 +0000 (14:23 +0000)
rts/win32/OSThreads.c

index c18bab2..4103469 100644 (file)
@@ -11,7 +11,6 @@
 
 #include "Rts.h"
 #if defined(THREADED_RTS)
-#include "OSThreads.h"
 #include "RtsUtils.h"
 #include <windows.h>
 
@@ -95,6 +94,7 @@ void
 shutdownThread()
 {
   _endthreadex(0);
+  barf("_endthreadex returned"); // avoid gcc warning
 }
 
 int