mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:53:31 +03: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:
parent
940e1c1e74
commit
673795f814
1 changed files with 3 additions and 0 deletions
|
|
@ -44,6 +44,9 @@
|
|||
# ifndef WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# endif
|
||||
# ifndef NOGDI
|
||||
# define NOGDI
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue