Skip to content

Commit

Permalink
curl_setup: define NOGDI on Windows
Browse files Browse the repository at this point in the history
This avoids an ERROR macro clash between <wingdi.h> and <arpa/tftp.h>
on MinGW.

Closes curl#3113
  • Loading branch information
MarcelRaad committed Oct 9, 2018
1 parent 940e1c1 commit 673795f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/curl_setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# ifndef NOGDI
# define NOGDI
# endif
#endif

/*
Expand Down

0 comments on commit 673795f

Please sign in to comment.