summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2019-09-19 11:04:21 -0700
committerDylan Baker <[email protected]>2019-10-10 16:33:04 -0700
commit16bc3073cbf9760f8999fe740750e8489b9876d4 (patch)
treeda9ae4d360b395230b6348f581ed46faf5444d0f /src
parentf1fe656a92da18a7fa1200783f80bc183fd2595d (diff)
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 <[email protected]> Acked-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/util/anon_file.c2
1 files changed, 1 insertions, 1 deletions
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 <unistd.h>