X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Flprintf.h;h=1d743236b09333bf6963deb25d2dbd17f018bffd;hb=703e4c7bbb2cfd549797e2092e4d863547b3e87c;hp=d09a46186a79add23cded32d4c7939669c5319ff;hpb=2951214ea65ce2e2ac40671511b8d5a9ea2d2842;p=libpicofe.git diff --git a/common/lprintf.h b/common/lprintf.h index d09a461..1d74323 100644 --- a/common/lprintf.h +++ b/common/lprintf.h @@ -1,7 +1,15 @@ -#if defined(__GP2X__) || defined(PSP) -#include -#define lprintf printf +#if defined(__GP2X__) + #include + #define lprintf printf +#elif defined(PSP) + #if 0 + #include + #define lprintf printf + #else + extern void lprintf_f(const char *fmt, ...); + #define lprintf lprintf_f + #endif #else -#include "giz.h" + #include "giz.h" #endif