#define __HSBASE_H__
#include "ghcconfig.h"
+
+/* ultra-evil... must come before HsBaseConfig.h */
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
+
#include "HsBaseConfig.h"
+
#include "HsFFI.h"
#include <stdio.h>
/* in Signals.c */
extern HsInt nocldstop;
+#if !defined(mingw32_TARGET_OS)
/* in execvpe.c */
extern int execvpe(char *name, char *const argv[], char **envp);
extern void pPrPr_disableITimers (void);
+#endif
/* -----------------------------------------------------------------------------
64-bit operations, defined in longlong.c
INLINE int __hscore_CSIDL_PERSONAL() { return CSIDL_PERSONAL; }
#endif
+/* ToDo: write a feature test that doesn't assume 'environ' to
+ * be in scope at link-time. */
+extern char** environ;
+INLINE char **__hscore_environ() { return environ; }
+
#endif /* __HSBASE_H__ */