X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Flprintf.h;h=48b8d576caefffe61395c03df7d71b50a31e7f81;hb=4685e5a10e388a9a07f1b11c3c14cce6e4e8ef5b;hp=d09a46186a79add23cded32d4c7939669c5319ff;hpb=1820b5a7a18fc8c37dddb2ab88159e513ceb3b16;p=picodrive.git diff --git a/platform/common/lprintf.h b/platform/common/lprintf.h index d09a461..48b8d57 100644 --- a/platform/common/lprintf.h +++ b/platform/common/lprintf.h @@ -1,7 +1,10 @@ -#if defined(__GP2X__) || defined(PSP) -#include -#define lprintf printf -#else -#include "giz.h" +#ifdef __cplusplus +extern "C" { +#endif + +extern void lprintf(const char *fmt, ...); + +#ifdef __cplusplus +} #endif