Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Krzysztof Raszkowski
mesa
Commits
3c16b821
Commit
3c16b821
authored
May 22, 2020
by
Krzysztof Raszkowski
Browse files
gallium/swr: Fix building swr with MSVC
Fix building swr with MSVC by turning off UNICODE before including windows.h.
parent
40255831
Pipeline
#150289
waiting for manual action with stages
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/gallium/drivers/swr/rasterizer/common/os.h
View file @
3c16b821
...
...
@@ -33,9 +33,11 @@
#define SWR_VISIBLE __declspec(dllexport)
#ifndef NOMINMAX
#undef UNICODE
#define NOMINMAX
#include <windows.h>
#undef NOMINMAX
#define UNICODE
#else
#include <windows.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment