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