Use static inline rather than extern inline/inline
[ghc-base.git] / include / HsBase.h
index aa1a7fb..161cf9d 100644 (file)
 #include "runProcess.h"
 
 #if defined(__MINGW32__)
+/* in Win32Utils.c */
+extern void maperrno (void);
+extern HsInt getTicksOfDay(void);
+#endif
+
+#if defined(__MINGW32__)
 #include <io.h>
 #include <fcntl.h>
 #include "timeUtils.h"
@@ -220,10 +226,8 @@ StgWord64 stg_integerToWord64 (StgInt sa, StgByteArray /* Really: mp_limb_t* */
 #ifndef INLINE
 # if defined(_MSC_VER)
 #  define INLINE extern __inline
-# elif defined(__GNUC__)
-#  define INLINE extern inline
 # else
-#  define INLINE inline
+#  define INLINE static inline
 # endif
 #endif