mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
tests/vma: fix build with MSVC
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
5eb0f33e4f
commit
a216aea7af
1 changed files with 8 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue