summaryrefslogtreecommitdiff
path: root/cord
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-09-07 20:49:32 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-09-07 20:50:46 +0300
commit583883ffa5d75028f4686dba655e97a5f76519fc (patch)
tree1cf54c8dadbe3e9bc790c43fd1d68631b2ae66b3 /cord
parent044bfb7f79a2ca085a08aeec83821d23a2fd4000 (diff)
downloadbdwgc-583883ffa5d75028f4686dba655e97a5f76519fc.tar.gz
Fix missing curses.h in cord/de when compiling manually (MS VC, MinGW)
* cord/tests/de.c [__MINGW32__ || __NT__ || _WIN32] (WIN32): Define.
Diffstat (limited to 'cord')
-rw-r--r--cord/tests/de.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cord/tests/de.c b/cord/tests/de.c
index f87d0e19..0d0dc5f4 100644
--- a/cord/tests/de.c
+++ b/cord/tests/de.c
@@ -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