diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-03-09 11:22:09 +0100 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-03-13 07:27:08 +0000 |
commit | 1d1700f492dbb548e41ac1be5b24ca6ac15ca962 (patch) | |
tree | 4734ee01096d688cc49c066f5ebec4c29a7de293 | |
parent | ba656c1071bcff96c1fe3ee1e5633aca5b12e498 (diff) | |
download | mesa-demos-1d1700f492dbb548e41ac1be5b24ca6ac15ca962.tar.gz |
update some WIN32 vs _WIN32 checks
When we did the switch to C11, we missed a few sources that doesn't
currently build for Windows on CI. Let's fix these.
Fixes: 49439b31 ("meson: update standard to C11 and C++17")
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
-rw-r--r-- | src/fp/fp-tri.c | 2 | ||||
-rw-r--r-- | src/fpglsl/fp-tri.c | 2 | ||||
-rw-r--r-- | src/vp/vp-tris.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/fp/fp-tri.c b/src/fp/fp-tri.c index ebd61e92..29858271 100644 --- a/src/fp/fp-tri.c +++ b/src/fp/fp-tri.c @@ -3,7 +3,7 @@ #include <string.h> #include <stdlib.h> -#ifndef WIN32 +#ifndef _WIN32 #include <unistd.h> #include <signal.h> #endif diff --git a/src/fpglsl/fp-tri.c b/src/fpglsl/fp-tri.c index b8ac6fcf..bf06a48f 100644 --- a/src/fpglsl/fp-tri.c +++ b/src/fpglsl/fp-tri.c @@ -3,7 +3,7 @@ #include <string.h> #include <stdlib.h> -#ifndef WIN32 +#ifndef _WIN32 #include <unistd.h> #include <signal.h> #endif diff --git a/src/vp/vp-tris.c b/src/vp/vp-tris.c index 687e219c..aa25f394 100644 --- a/src/vp/vp-tris.c +++ b/src/vp/vp-tris.c @@ -6,7 +6,7 @@ #include <stdlib.h> #include <math.h> -#ifndef WIN32 +#ifndef _WIN32 #include <unistd.h> #include <signal.h> #endif |