util: Fix rwlock Windows include for MinGW

MinGW uses windows.h, and not Windows.h.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7215>
This commit is contained in:
James Park
2020-10-19 03:51:46 -07:00
committed by Marge Bot
parent afeb0c3022
commit ed0eb511d9

View File

@@ -29,7 +29,7 @@
#define RWLOCK_H
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#else
#include <pthread.h>
#endif