diff options
author | Dylan Baker <[email protected]> | 2019-09-19 11:04:21 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-10-10 16:33:04 -0700 |
commit | 16bc3073cbf9760f8999fe740750e8489b9876d4 (patch) | |
tree | da9ae4d360b395230b6348f581ed46faf5444d0f /src/util/anon_file.c | |
parent | f1fe656a92da18a7fa1200783f80bc183fd2595d (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/util/anon_file.c')
-rw-r--r-- | src/util/anon_file.c | 2 |
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> |