diff --git a/Kernel/kstdio.h b/Kernel/kstdio.h index 34e745a5dc..e297ffc149 100644 --- a/Kernel/kstdio.h +++ b/Kernel/kstdio.h @@ -18,3 +18,13 @@ int get_serial_debug(); #ifndef __serenity__ #define dbgprintf printf #endif + +#ifdef __cplusplus + +template +inline int dbgputstr(const char (&array)[N]) +{ + return ::dbgputstr(array, N); +} + +#endif