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