glsl/tests: define ssize_t on windows
authorDylan Baker <dylan@pnwbakers.com>
Tue, 22 May 2018 22:32:22 +0000 (15:32 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 3 May 2019 17:58:24 +0000 (10:58 -0700)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/tests/blob_test.c

index 1cc97236e7e64d1538aff547a87fffc0813741bb..21b8b1efdc186c9f16b0787e6054bda507311b61 100644 (file)
 #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"