From: Dylan Baker Date: Thu, 19 Sep 2019 18:04:21 +0000 (-0700) Subject: util: use _WIN32 instead of WIN32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16bc3073cbf9760f8999fe740750e8489b9876d4;p=mesa.git util: use _WIN32 instead of WIN32 MinGW defines only _WIN32, but doesn't have fcntl, so we need to use the windows path. Reviewed-by: Erik Faye-Lund Acked-by: Kristian H. Kristensen --- diff --git a/src/util/anon_file.c b/src/util/anon_file.c index e36800482fc..bd415adb647 100644 --- a/src/util/anon_file.c +++ b/src/util/anon_file.c @@ -27,7 +27,7 @@ * Based on weston shared/os-compatibility.c */ -#ifndef WIN32 +#ifndef _WIN32 #include "anon_file.h" #include