summaryrefslogtreecommitdiff
path: root/src/main/c/zzKludge.c
blob: 3d8ad5c483996d10cee3ffe787b7ec00ab52a928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "commonbase.h"

#if WINDOOF

#include <fcntl.h>
#include <stdio.h>
#include <windows.h>


void fixBrokenStdio( void ){
    _setmode(_fileno(stdin), O_BINARY);
    _setmode(_fileno(stdout), O_BINARY);
}

#endif /* end WINDOOF */