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