diff --git a/src/osgPlugins/osgjs/JSON_Objects b/src/osgPlugins/osgjs/JSON_Objects index fe17c41a4..351b58293 100644 --- a/src/osgPlugins/osgjs/JSON_Objects +++ b/src/osgPlugins/osgjs/JSON_Objects @@ -19,22 +19,18 @@ #include "json_stream" #ifdef WIN32 - -#if defined(__MINGW32__) || (!defined(_MSC_VER) || _MSC_VER<1600) - -typedef unsigned __int8 uint8_t; -typedef unsigned __int16 uint16_t; -typedef unsigned __int32 uint32_t; -typedef signed __int8 int8_t; -typedef signed __int16 int16_t; -typedef signed __int32 int32_t; - + #if defined(__MINGW32__) || (!defined(_MSC_VER) || _MSC_VER<1600) + typedef unsigned __int8 uint8_t; + typedef unsigned __int16 uint16_t; + typedef unsigned __int32 uint32_t; + typedef signed __int8 int8_t; + typedef signed __int16 int16_t; + typedef signed __int32 int32_t; + #else + #include + #endif #else - -#include - -#endif - + #include #endif class WriteVisitor;