summaryrefslogtreecommitdiff
path: root/src/main/c/commonbase.h
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2022-08-20 17:53:33 +0200
committerAndreas Fankhauser hiddenalpha.ch2022-08-20 17:53:33 +0200
commitb3152b1fa0e84b235c1714f0d256fee970179ea7 (patch)
tree74dd0fcaa3e3736feafebf0b0abd89c654adb7fb /src/main/c/commonbase.h
parentd6f8e794f77074eb76a1efbfc7f69d488f387950 (diff)
parent71775351a71f085c76378f6450cb6279d72bc50b (diff)
downloadDeflateAndInflate-b3152b1fa0e84b235c1714f0d256fee970179ea7.zip
DeflateAndInflate-b3152b1fa0e84b235c1714f0d256fee970179ea7.tar.gz
Merge 'Extract windoof kludge to dedicated compilation unit' to masterv0.0.3
Diffstat (limited to 'src/main/c/commonbase.h')
-rw-r--r--src/main/c/commonbase.h5
1 files changed, 1 insertions, 4 deletions
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