diff --git a/sc2/src/types.h b/sc2/src/types.h index 37e5f1e69..f72d35d68 100644 --- a/sc2/src/types.h +++ b/sc2/src/types.h @@ -27,6 +27,12 @@ # include # else typedef int intptr_t; + typedef unsigned int uintptr_t; +# endif +# ifdef _WIN64 +# define PRIxPTR "lx" +# else +# define PRIxPTR "x" # endif #else # include