#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
+/* Needed to get the macro version of errno on some OSs (eg. Solaris).
+ We must do this, because these libs are only compiled once, but
+ must work in both single-threaded and multi-threaded programs. */
+#define _REENTRANT 1
+
#include "HsFFI.h"
#include <stdio.h>
#endif /* __GLASGOW_HASKELL__ */
-#if defined(mingw32_HOST_OS) || defined(_MSC_VER)
-INLINE long *
-__hscore_Time_ghcTimezone( void ) { return &_timezone; }
-
-INLINE char **
-__hscore_Time_ghcTzname( void ) { return _tzname; }
-#endif
-
INLINE HsInt
__hscore_mkdir( HsAddr pathName, HsInt mode )
{