diff options
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/common/os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h index a52bc0e0db6..bda114d64e2 100644 --- a/src/gallium/drivers/swr/rasterizer/common/os.h +++ b/src/gallium/drivers/swr/rasterizer/common/os.h @@ -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 |