1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

curl_setup: define NOGDI on Windows

This avoids an ERROR macro clash between <wingdi.h> and <arpa/tftp.h>
on MinGW.

Closes https://github.com/curl/curl/pull/3113
This commit is contained in:
Marcel Raad 2018-10-08 11:33:15 +02:00
parent 940e1c1e74
commit 673795f814
No known key found for this signature in database
GPG Key ID: 07ADACB610D796DA

View File

@ -44,6 +44,9 @@
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# ifndef NOGDI
# define NOGDI
# endif
#endif
/*