aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/stdint.h1
-rw-r--r--mesalib/src/glsl/main.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/stdint.h b/include/stdint.h
index 59d067302..4836190c5 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -243,5 +243,6 @@ typedef uint64_t uintmax_t;
#endif // __STDC_CONSTANT_MACROS ]
+typedef int ssize_t;
#endif // _MSC_STDINT_H_ ]
diff --git a/mesalib/src/glsl/main.cpp b/mesalib/src/glsl/main.cpp
index a0755ac2c..fd8be6821 100644
--- a/mesalib/src/glsl/main.cpp
+++ b/mesalib/src/glsl/main.cpp
@@ -27,7 +27,6 @@
#ifdef _MSC_VER
#define __STDC__ 1
#include <getopt.h>
-typedef size_t ssize_t;
#define open _open
#define read _read
#define fstat _fstat