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:
Michel Zou
2021-06-14 10:14:32 +02:00
committed by Marge Bot
parent d31ea71c44
commit f9a69cbcd4

View File

@@ -55,6 +55,7 @@ TEMPLATE_H = Template(COPYRIGHT + """\
/* Windows api conflict */
#ifdef _WIN32
#include <windows.h>
#ifdef CreateSemaphore
#undef CreateSemaphore
#endif