diff options
Diffstat (limited to 'src/fontfile/bufio.c')
-rw-r--r-- | src/fontfile/bufio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fontfile/bufio.c b/src/fontfile/bufio.c index 3f6d461..aa2a7a5 100644 --- a/src/fontfile/bufio.c +++ b/src/fontfile/bufio.c @@ -122,7 +122,7 @@ BufFileRawClose (BufFilePtr f, int doClose) BufFilePtr BufFileOpenRead (int fd) { -#ifdef __UNIXOS2__ +#if defined(__UNIXOS2__) || defined (WIN32) /* hv: I'd bet WIN32 has the same effect here */ setmode(fd,O_BINARY); #endif @@ -149,7 +149,7 @@ BufFileOpenWrite (int fd) { BufFilePtr f; -#ifdef __UNIXOS2__ +#if defined(__UNIXOS2__) || defined(WIN32) /* hv: I'd bet WIN32 has the same effect here */ setmode(fd,O_BINARY); #endif |