X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Flprintf.h;h=48b8d576caefffe61395c03df7d71b50a31e7f81;hb=dde168a10ef0c849dcedcd4527ebe43feb5edf32;hp=1d304721347a9f404a843b3c95c863c1e75f6632;hpb=7d0143a2de0f5551c90b29c1b1ee94e9c52b0952;p=picodrive.git diff --git a/platform/common/lprintf.h b/platform/common/lprintf.h index 1d30472..48b8d57 100644 --- a/platform/common/lprintf.h +++ b/platform/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