diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-01-22 02:13:18 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-01-22 02:13:18 +0000 |
commit | fdcc03929065b5bf5dd93553db219ea3e05c8c34 (patch) | |
tree | ca90dc8d9e89febdcd4160956c1b8ec098a4efc9 /lib/mesa/src/util/tests/vma/vma_random_test.cpp | |
parent | 3c9de4a7e13712b5696750bbd59a18c848742022 (diff) |
Import Mesa 19.2.8
Diffstat (limited to 'lib/mesa/src/util/tests/vma/vma_random_test.cpp')
-rw-r--r-- | lib/mesa/src/util/tests/vma/vma_random_test.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/mesa/src/util/tests/vma/vma_random_test.cpp b/lib/mesa/src/util/tests/vma/vma_random_test.cpp index 1f194fcdf..9246176cb 100644 --- a/lib/mesa/src/util/tests/vma/vma_random_test.cpp +++ b/lib/mesa/src/util/tests/vma/vma_random_test.cpp @@ -34,7 +34,15 @@ #include <set> #include <vector> +#ifndef _WIN32 #include <err.h> +#else +#define errx(code, msg, ...) \ + do { \ + fprintf(stderr, msg, __VA_ARGS__); \ + exit(code); \ + } while (0); +#endif #include "vma.h" |