X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Flprintf.h;h=48b8d576caefffe61395c03df7d71b50a31e7f81;hb=c7b78b94e9eecd2b2dd79f7f899376ac4976303f;hp=a8d9ee1cf8a5d1c0896ba1800e8ec986b37c482b;hpb=16e89bed918ec39b1e43956b903f7986af86a6b2;p=libpicofe.git diff --git a/common/lprintf.h b/common/lprintf.h index a8d9ee1..48b8d57 100644 --- a/common/lprintf.h +++ b/common/lprintf.h @@ -1,15 +1,10 @@ -#if defined(__GP2X__) - #include - #define lprintf printf -#elif defined(PSP) - #ifdef LPRINTF_STDIO - #include - #define lprintf printf - #else - extern void lprintf_f(const char *fmt, ...); - #define lprintf lprintf_f - #endif -#else - #include "giz.h" +#ifdef __cplusplus +extern "C" { +#endif + +extern void lprintf(const char *fmt, ...); + +#ifdef __cplusplus +} #endif