zink: Fix win32 build
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11338>
This commit is contained in:
@@ -55,6 +55,7 @@ TEMPLATE_H = Template(COPYRIGHT + """\
|
|||||||
|
|
||||||
/* Windows api conflict */
|
/* Windows api conflict */
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#include <windows.h>
|
||||||
#ifdef CreateSemaphore
|
#ifdef CreateSemaphore
|
||||||
#undef CreateSemaphore
|
#undef CreateSemaphore
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user