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