X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico_int.h;h=838af54bc61f1841de47f0d57b5361b966eac2d4;hb=553c3eaa3a4bda6ba99d925ecab518fe82530cd6;hp=cb6ae7c9a1dc5648afcdfbcccda00faea4184623;hpb=274f95a9a9e5a889ee137a7cbd764a384a7ac2dd;p=picodrive.git diff --git a/pico/pico_int.h b/pico/pico_int.h index cb6ae7c..838af54 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -789,10 +789,10 @@ extern void lprintf(const char *fmt, ...); #define cdprintf(x...) #endif -#if defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 3 -#define MEMH_FUNC __attribute__((aligned(4))) +#ifdef __i386__ +#define REGPARM(x) __attribute__((regparm(x))) #else -#define MEMH_FUNC +#define REGPARM(x) #endif #ifdef __GNUC__