#include "timeUtils.h"
#endif
-/* in ghc_errno.c */
-int *ghcErrno(void);
-
/* in system.c */
HsInt systemCmd(HsAddr cmd);
# endif
#endif
+INLINE int __hscore_get_errno(void) { return errno; }
+INLINE int __hscore_set_errno(int e) { errno = e; }
+
#if !defined(_MSC_VER)
INLINE int __hscore_s_isreg(m) { return S_ISREG(m); }
INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); }