Commit 09fc9c5f authored by Krzysztof Raszkowski's avatar Krzysztof Raszkowski
Browse files

gallium/swr: Fix building swr with MSVC



Fix building swr with MSVC by turning off
UNICODE before including windows.h.
Reviewed-by: Jan Zielinski's avatarJan Zielinski <jan.zielinski@intel.com>
Part-of: <mesa/mesa!5166>
parent 40255831
Pipeline #150296 passed with stages
in 12 minutes and 54 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment