X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Flprintf.h;h=48b8d576caefffe61395c03df7d71b50a31e7f81;hb=8b8d9463fa57d3165a50923e665888d1353c3eec;hp=5cd176f5d6969037d36ad79664dc94e8ecdcdc24;hpb=c7a4ff64287b12487c7e9cc13ce3b7d2aa6e1f06;p=libpicofe.git diff --git a/common/lprintf.h b/common/lprintf.h index 5cd176f..48b8d57 100644 --- a/common/lprintf.h +++ b/common/lprintf.h @@ -1,6 +1,10 @@ -#if defined(__GP2X__) -#define lprintf printf -#else -#include "giz.h" +#ifdef __cplusplus +extern "C" { +#endif + +extern void lprintf(const char *fmt, ...); + +#ifdef __cplusplus +} #endif