diff options
author | Dylan Baker <[email protected]> | 2018-05-22 15:32:22 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-05-03 10:58:24 -0700 |
commit | 5eb0f33e4f45becb02fb0dfe46d6855837312341 (patch) | |
tree | 8d472573c58c1d4a8588968f9c32d43ff70290cc /src/compiler/glsl/tests | |
parent | 76338933e98209dbf278a2eee14f4dee66ec2374 (diff) |
glsl/tests: define ssize_t on windows
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/glsl/tests')
-rw-r--r-- | src/compiler/glsl/tests/blob_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/glsl/tests/blob_test.c b/src/compiler/glsl/tests/blob_test.c index 1cc97236e7e..21b8b1efdc1 100644 --- a/src/compiler/glsl/tests/blob_test.c +++ b/src/compiler/glsl/tests/blob_test.c @@ -28,6 +28,10 @@ #include <stdlib.h> #include <stdbool.h> #include <string.h> +#ifdef _MSC_VER +#include <BaseTsd.h> +typedef SSIZE_T ssize_t; +#endif #include "util/ralloc.h" #include "blob.h" |