properly to nothing. Fix code to compile properly with no-DEBUGSERIAL
case.
-#ifdef DEBUGSERIAL
-# include <hw/8250/8250.h>
+#ifndef _SRC_LIB_16_DBG
+#define _SRC_LIB_16_DBG
+
+# ifdef DEBUGSERIAL
+# include <hw/8250/8250.h>
void _DEBUG(const char *msg);
int _DEBUG_INIT();
-#else
+# else
static inline void _DEBUG(const char *msg) {
// NOTHING
}
// NOTHING
return -1;
}
-#endif
+# endif
+#endif // _SRC_LIB_16_DBG
#include "src/lib/16_timer.h"\r
#include "src/lib/bitmap.h"\r
#include "src/lib/planar.h"\r
+#include "src/lib/16_dbg.h"\r
\r
#ifdef __DEBUG__\r
//#define __DEBUG_InputMgr__\r