From: Dylan Baker Date: Thu, 19 Sep 2019 18:04:21 +0000 (-0700) Subject: util: use _WIN32 instead of WIN32 X-Git-Tag: upstream/19.3.0~1186 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16bc3073cbf9760f8999fe740750e8489b9876d4;p=platform%2Fupstream%2Fmesa.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 e368004..bd415ad 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