X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Flprintf.h;h=48b8d576caefffe61395c03df7d71b50a31e7f81;hb=45a3965258121ffdf5b728ec187ebab8011ea331;hp=dc49c655f2cdeee8014b70cc110cc275cb74a8b6;hpb=2b90fc61e0907707c60bb01d97645b6afc22d4ae;p=libpicofe.git diff --git a/common/lprintf.h b/common/lprintf.h index dc49c65..48b8d57 100644 --- a/common/lprintf.h +++ b/common/lprintf.h @@ -1,15 +1,10 @@ -#if defined(__GP2X__) - #include - #define lprintf printf -#elif defined(PSP) - #if 1 - #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