We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ace9f3 commit cc173eeCopy full SHA for cc173ee
src/Test/Tasty/Bench.hs
@@ -2272,14 +2272,8 @@ int64ToWord64 = fromIntegral
2272
2273
#if defined(mingw32_HOST_OS)
2274
2275
-#if defined(i386_HOST_ARCH)
2276
-#define CCONV stdcall
2277
-#else
2278
-#define CCONV ccall
2279
-#endif
2280
-
2281
-foreign import CCONV unsafe "windows.h GetConsoleOutputCP" getConsoleOutputCP :: IO Word32
2282
-foreign import CCONV unsafe "windows.h SetConsoleOutputCP" setConsoleOutputCP :: Word32 -> IO ()
+foreign import capi unsafe "windows.h GetConsoleOutputCP" getConsoleOutputCP :: IO Word32
+foreign import capi unsafe "windows.h SetConsoleOutputCP" setConsoleOutputCP :: Word32 -> IO ()
2283
2284
#endif
2285
0 commit comments