diff options
author | Erik Faye-Lund <[email protected]> | 2020-04-15 22:48:46 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-16 14:48:40 +0000 |
commit | 0752648a993c6f0fae2f4a072079000b9d84d074 (patch) | |
tree | a8553b2be683d97d59353e1b7dcdf2cdbe078a4d /meson.build | |
parent | b55b033f7624171d82ae1f79f3d3ad058ae0ac56 (diff) |
vbo: avoid including wingdi.h on win32
On Windows, main/glheader.h ends up including windows.h which in turn
includes wingdi.h unless the NOGDI macro is defined. And wingdi.h
defines a macro called "ERROR", which we end up redefining below.
To avoid a warning on the redefinition, we can define NOGDI to prevent
wingdi.h from implicitly being included.
Reviewed-by: Brian Paul <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4577>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions