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>
Fri, 7 Sep 2018 17:50:46 +0000 (20:50 +0300)
* cord/tests/de.c [__MINGW32__ || __NT__ || _WIN32] (WIN32): Define.

cord/tests/de.c

index f87d0e1..0d0dc5f 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