diff -r 3b3257a410fe -r 2274a07510c1 include/common.h --- a/include/common.h Tue Jul 26 17:41:36 2016 +0200 +++ b/include/common.h Tue Jul 26 18:19:37 2016 +0200 @@ -34,27 +34,11 @@ #include #include #include +#include #include using namespace std; -#ifndef MSVC -# include -#else -#ifndef _SDL_config_win32_h -/* these stdint.h typedefs are not available in MSVC - * but are defined in SDL_config_win32.h */ -typedef __int8 int8_t; -typedef __int16 int16_t; -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int8 uint8_t; -typedef unsigned __int16 uint16_t; -typedef unsigned __int32 uint32_t; -typedef unsigned __int64 uint64_t; -#endif -#endif - #ifdef PYRIT_DOUBLE # define Float double @@ -68,14 +52,7 @@ # define PI (float)M_PI #endif -// enable M_* constants in MSVC -#define _USE_MATH_DEFINES - -#ifdef MSVC -#define NORETURN __declspec(noreturn) -#else #define NORETURN __attribute__((noreturn)) -#endif /** * verbosity level