aboutsummaryrefslogtreecommitdiff
path: root/src/win/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/debug.cpp')
-rw-r--r--src/win/debug.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/win/debug.cpp b/src/win/debug.cpp
new file mode 100644
index 00000000..e15b1f6c
--- /dev/null
+++ b/src/win/debug.cpp
@@ -0,0 +1,9 @@
+#include "cru/win/win_pre_config.hpp"
+
+#include "cru/platform/debug.hpp"
+
+namespace cru::platform {
+void DebugMessage(const std::wstring_view& message) {
+ ::OutputDebugStringW(message.data());
+}
+} // namespace cru::platform