]> granicus.if.org Git - gc/commitdiff
Fix missing curses.h in cord/de when compiling manually (MS VC, MinGW)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 7 Sep 2018 17:49:32 +0000 (20:49 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 11 Sep 2018 21:32:02 +0000 (00:32 +0300)
* cord/tests/de.c [__MINGW32__ || __NT__ || _WIN32] (WIN32): Define.

cord/tests/de.c

index f87d0e196dc4bba733392d20f947d7cdb13b6fdf..0d0dc5f49b0d0d1224da14154d42afd0fc855803 100644 (file)
@@ -37,7 +37,8 @@
 #endif
 #include <ctype.h>
 
-#if (defined(__BORLANDC__) || defined(__CYGWIN__)) && !defined(WIN32)
+#if (defined(__BORLANDC__) || defined(__CYGWIN__) || defined(__MINGW32__) \
+     || defined(__NT__) || defined(_WIN32)) && !defined(WIN32)
     /* If this is DOS or win16, we'll fail anyway.      */
     /* Might as well assume win32.                      */
 #   define WIN32