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