changeset 654:828c1c4e25cc

(probably) restore buildability on Cygwin Only probably because I don't have easy direct access to a Cygwin build environment yet; sadly, it doesn't install under Wine. I have inspected the output of gcc -dM -E foo.h for different compiler/OS combinations, though, and this should now be right.
author mas01cr
date Thu, 22 Oct 2009 12:51:04 +0000
parents 3e25f26b6a27
children 2a97f3f9a6ac
files lshlib.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lshlib.cpp	Thu Oct 15 14:47:07 2009 +0000
+++ b/lshlib.cpp	Thu Oct 22 12:51:04 2009 +0000
@@ -1112,7 +1112,7 @@
 
   int dbfid;
   if ((dbfid = open (filename, O_RDWR|O_CREAT|O_EXCL, 
-#if defined(__CYGWIN__) || defined(WIN32)
+#if defined(WIN32)
                      _S_IREAD|_S_IWRITE
 #else
                      S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH