aboutsummaryrefslogtreecommitdiff
path: root/src/cru_debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cru_debug.cpp')
-rw-r--r--src/cru_debug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cru_debug.cpp b/src/cru_debug.cpp
index b9226132..331d2bce 100644
--- a/src/cru_debug.cpp
+++ b/src/cru_debug.cpp
@@ -3,7 +3,9 @@
#include "system_headers.hpp"
namespace cru::debug {
+#ifdef CRU_DEBUG
void DebugMessage(const StringView& message) {
::OutputDebugStringW(message.data());
}
+#endif
} // namespace cru::debug