aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/fontfile/filewr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/fontfile/filewr.c')
-rw-r--r--libXfont/src/fontfile/filewr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXfont/src/fontfile/filewr.c b/libXfont/src/fontfile/filewr.c
index d076f166a..f9c53a2be 100644
--- a/libXfont/src/fontfile/filewr.c
+++ b/libXfont/src/fontfile/filewr.c
@@ -42,7 +42,7 @@ FontFileOpenWrite (const char *name)
{
int fd;
-#if defined(WIN32) || defined(__UNIXOS2__) || defined(__CYGWIN__)
+#if defined(WIN32) || defined(__CYGWIN__)
fd = open (name, O_CREAT|O_TRUNC|O_RDWR|O_BINARY, 0666);
#else
fd = creat (name, 0666);