From: Ivan Maidanski Date: Fri, 7 Sep 2018 17:49:32 +0000 (+0300) Subject: Fix missing curses.h in cord/de when compiling manually (MS VC, MinGW) X-Git-Tag: upstream/8.0.4~520 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=583883ffa5d75028f4686dba655e97a5f76519fc;p=platform%2Fupstream%2Flibgc.git Fix missing curses.h in cord/de when compiling manually (MS VC, MinGW) * cord/tests/de.c [__MINGW32__ || __NT__ || _WIN32] (WIN32): Define. --- diff --git a/cord/tests/de.c b/cord/tests/de.c index f87d0e1..0d0dc5f 100644 --- a/cord/tests/de.c +++ b/cord/tests/de.c @@ -37,7 +37,8 @@ #endif #include -#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