From: Marcel Raad Date: Mon, 8 Oct 2018 09:33:15 +0000 (+0200) Subject: curl_setup: define NOGDI on Windows X-Git-Tag: curl-7_62_0~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=673795f8146a48764a55c5ebd93761f938d114ef;p=thirdparty%2Fcurl.git curl_setup: define NOGDI on Windows This avoids an ERROR macro clash between and on MinGW. Closes https://github.com/curl/curl/pull/3113 --- diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 6513d30f1d..b84501556f 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -44,6 +44,9 @@ # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif +# ifndef NOGDI +# define NOGDI +# endif #endif /*