summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/psfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/psfile.cc')
-rw-r--r--Build/source/utils/asymptote/psfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/psfile.cc b/Build/source/utils/asymptote/psfile.cc
index c2f0f24982e..97e6a803e61 100644
--- a/Build/source/utils/asymptote/psfile.cc
+++ b/Build/source/utils/asymptote/psfile.cc
@@ -122,7 +122,7 @@ void psfile::close()
if(out) {
out->flush();
if(!filename.empty()) {
-#ifdef __CYGWIN__
+#ifdef __MSDOS__
chmod(filename.c_str(),~settings::mask & 0777);
#endif
if(!out->good())