From 673795f8146a48764a55c5ebd93761f938d114ef Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 8 Oct 2018 11:33:15 +0200 Subject: [PATCH] curl_setup: define NOGDI on Windows This avoids an ERROR macro clash between and on MinGW. Closes https://github.com/curl/curl/pull/3113 --- lib/curl_setup.h | 3 +++ 1 file changed, 3 insertions(+) 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 /*