summaryrefslogtreecommitdiff
path: root/generic/Output.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Output.cpp')
-rw-r--r--generic/Output.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Output.cpp b/generic/Output.cpp
index 1d7981e..55ab158 100644
--- a/generic/Output.cpp
+++ b/generic/Output.cpp
@@ -15,7 +15,7 @@
Output::Output(String no, int create, int trunc) throw (GeneralException) :
Handle(no.strlen() ? open(no.to_charp(), O_WRONLY | (O_CREAT * (create ? 1 : 0)) | (trunc ? O_TRUNC : O_APPEND)
-#ifdef __linux__
+#if defined __linux__ || defined __CYGWIN32__
, 00666
#endif
) : dup(1)),