diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-15 15:06:56 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-15 15:06:56 +0000 |
commit | dd695cb666d6912f615b264eaabbad63592588c1 (patch) | |
tree | e4474c544b7d6d7aff67d525f608230bc238cefe /src/fontfile/bufio.c | |
parent | 8cb3bec3667fa6ee57277956d3be71671915a73b (diff) |
Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 AddedXORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1
mingw (Win32) port
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 |