input: in_gp2x refactoring
[libpicofe.git] / common / lprintf.h
index 1d30472..48b8d57 100644 (file)
@@ -1,9 +1,10 @@
-#if defined(__GP2X__)
- #include <stdio.h>
- #define lprintf printf
-#elif defined(PSP)
- extern void lprintf(const char *fmt, ...);
-#else
- #include "giz.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern void lprintf(const char *fmt, ...);
+
+#ifdef __cplusplus
+}
 #endif