From 16bc3073cbf9760f8999fe740750e8489b9876d4 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 19 Sep 2019 11:04:21 -0700 Subject: [PATCH] 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 --- src/util/anon_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4