aboutsummaryrefslogtreecommitdiffstats
path: root/roms/QemuMacDrivers/shared/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/QemuMacDrivers/shared/logger.h')
-rw-r--r--roms/QemuMacDrivers/shared/logger.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/roms/QemuMacDrivers/shared/logger.h b/roms/QemuMacDrivers/shared/logger.h
new file mode 100644
index 000000000..6a65287c2
--- /dev/null
+++ b/roms/QemuMacDrivers/shared/logger.h
@@ -0,0 +1,32 @@
+/*
+ * Creation Date: <1999/03/20 07:38:38 samuel>
+ * Time-stamp: <2002/07/20 19:29:22 samuel>
+ *
+ * <logger.h>
+ *
+ * Interface to some logging functions
+ *
+ * Copyright (C) 1999, 2002 Samuel Rydh (samuel@ibrium.se)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation
+ *
+ */
+
+#ifndef __LOGGER_H_
+#define __LOGGER_H_
+
+#include <Types.h>
+
+#define DBG(x) do {x;} while(0)
+
+#ifdef DEBUG_OSI
+extern void lprintf( char *fmt,... );
+extern OSStatus CheckStatus( OSStatus value, char *message);
+#else
+static inline void lprintf( char *fmt,... ) { }
+static inline OSStatus CheckStatus( OSStatus value, char *message) { return value; }
+#endif
+
+#endif