projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1fe656
)
util: use _WIN32 instead of WIN32
author
Dylan Baker
<dylan@pnwbakers.com>
Thu, 19 Sep 2019 18:04:21 +0000
(11:04 -0700)
committer
Dylan Baker
<dylan@pnwbakers.com>
Thu, 10 Oct 2019 23:33:04 +0000
(16:33 -0700)
MinGW defines only _WIN32, but doesn't have fcntl, so we need to use the
windows path.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
src/util/anon_file.c
patch
|
blob
|
history
diff --git
a/src/util/anon_file.c
b/src/util/anon_file.c
index e36800482fc9e5d0ac3cfeb7ad143ce4e2925591..bd415adb647787bd36c7a404fa1724f07dca3653 100644
(file)
--- 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>