From 71775351a71f085c76378f6450cb6279d72bc50b Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Sat, 20 Aug 2022 17:52:36 +0200 Subject: Extract windoof kludge to dedicated compilation unit --- src/main/c/commonbase.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/c/commonbase.h') diff --git a/src/main/c/commonbase.h b/src/main/c/commonbase.h index 581bf54..f7a353e 100644 --- a/src/main/c/commonbase.h +++ b/src/main/c/commonbase.h @@ -21,10 +21,7 @@ #if WINDOOF -static inline void fixBrokenStdio( void ){ - _setmode(_fileno(stdin), O_BINARY); - _setmode(_fileno(stdout), O_BINARY); -} +void fixBrokenStdio( void ); #else # define fixBrokenStdio() #endif -- cgit v1.1