]> granicus.if.org Git - gc/commitdiff
Fix cord/de.c for Cygwin.
authorIvan Maidanski <ivmai@mail.ru>
Tue, 13 Sep 2011 08:12:53 +0000 (12:12 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 13 Sep 2011 10:45:33 +0000 (14:45 +0400)
(Apply commit 57930e5)

* cord/de.c (WIN32): Define also for Cygwin.

cord/de.c

index fd34488981a4543e33eda02f92150e48f32d1652..f08167bc18410dbf8f452435e19ea764c83c9e73 100644 (file)
--- a/cord/de.c
+++ b/cord/de.c
@@ -35,7 +35,7 @@
 #include <ctype.h>
 #endif
 
-#if defined(__BORLANDC__) && !defined(WIN32)
+#if (defined(__BORLANDC__) || defined(__CYGWIN__)) && !defined(WIN32)
     /* If this is DOS or win16, we'll fail anyway.      */
     /* Might as well assume win32.                      */
 #   define WIN32