From 83961750b3826e2e9e4a8134ab0339467007f371 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Sun, 10 Jan 2016 22:48:07 -0600 Subject: [PATCH] Add ifdef for mingw compilation --- common/common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/common.h b/common/common.h index 2e603672..54ef0b82 100644 --- a/common/common.h +++ b/common/common.h @@ -107,7 +107,9 @@ #define S_IWUSR _S_IWRITE #define PATH_SEP '\\' // --DSS needed for VS versions before 2010 - typedef __int8 int8_t; + #ifndef __MINGW32__ + typedef __int8 int8_t; + #endif typedef unsigned __int8 uint8_t; typedef __int16 int16_t; typedef unsigned __int16 uint16_t;