X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Flprintf.h;h=48b8d576caefffe61395c03df7d71b50a31e7f81;hb=75b18496c1fb8dd18608847f89e8a8a6344d46c3;hp=d09a46186a79add23cded32d4c7939669c5319ff;hpb=2951214ea65ce2e2ac40671511b8d5a9ea2d2842;p=libpicofe.git diff --git a/common/lprintf.h b/common/lprintf.h index d09a461..48b8d57 100644 --- a/common/lprintf.h +++ b/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