diff --git a/common/include/intrin_x86.h b/common/include/intrin_x86.h index a47b68ae35..7c04b795e0 100644 --- a/common/include/intrin_x86.h +++ b/common/include/intrin_x86.h @@ -65,6 +65,12 @@ would use in the same case */ + +#ifndef __SIZE_T +#define __SIZE_T +typedef unsigned int size_t; +#endif + /*** Stack frame juggling ***/ #define _ReturnAddress() (__builtin_return_address(0)) #define _AddressOfReturnAddress() (&(((void **)(__builtin_frame_address(0)))[1])) diff --git a/plugins/zerospu2/misc.h b/plugins/zerospu2/misc.h index 5000683800..dab6876483 100644 --- a/plugins/zerospu2/misc.h +++ b/plugins/zerospu2/misc.h @@ -40,6 +40,8 @@ inline u32 timeGetTime() #include +#define InterlockedExchangeAdd _InterlockedExchangeAdd + #else #include #include