Module: Mesa Branch: master Commit: 5eb0f33e4f45becb02fb0dfe46d6855837312341 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eb0f33e4f45becb02fb0dfe46d6855837312341
Author: Dylan Baker <[email protected]> Date: Tue May 22 15:32:22 2018 -0700 glsl/tests: define ssize_t on windows Reviewed-by: Eric Anholt <[email protected]> --- src/compiler/glsl/tests/blob_test.c | 4 ++++ 1 file changed, 4 insertions(+) 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" _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
