X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=common.h;h=f43d75cfabbde17ec8ebb24d3f894c20e0630b0f;hb=c21718e922f16bc7a459960b90e26634b8f2e33b;hp=6b1cf95f05a63c65aafad4306b0152d73cf9de18;hpb=ee0a3871f9982215361cd6bb4758eb9a7c7d8413;p=gpsp.git diff --git a/common.h b/common.h index 6b1cf95..f43d75c 100644 --- a/common.h +++ b/common.h @@ -29,6 +29,7 @@ #ifdef _WIN32_WCE #include #else + #define _BSD_SOURCE // sync #include #include #include @@ -114,8 +115,8 @@ typedef signed char s8; typedef unsigned short int u16; typedef signed short int s16; - typedef unsigned long u32; - typedef signed long s32; + typedef unsigned int u32; + typedef signed int s32; typedef unsigned long long int u64; typedef signed long long int s64; @@ -224,6 +225,9 @@ typedef u32 fixed16_16; #include "zip.h" #include "cheats.h" +#ifdef ARM_ARCH + #include "arm/warm.h" +#endif #ifdef PSP_BUILD #define printf pspDebugScreenPrintf