summaryrefslogtreecommitdiffstats
path: root/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtDebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtDebug.cpp')
-rw-r--r--lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtDebug.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtDebug.cpp b/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtDebug.cpp
new file mode 100644
index 0000000..ba98324
--- /dev/null
+++ b/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtDebug.cpp
@@ -0,0 +1,30 @@
+/*****************************************************************
+|
+| Neptune - Debug Support: WinRT Implementation
+|
+| (c) 2002-2013 Gilles Boccon-Gibod
+| Author: Gilles Boccon-Gibod (bok@bok.net)
+|
+ ****************************************************************/
+
+/*----------------------------------------------------------------------
+| includes
++---------------------------------------------------------------------*/
+#include "NptWinRtPch.h"
+
+#include "NptConfig.h"
+#include "NptDefs.h"
+#include "NptTypes.h"
+#include "NptDebug.h"
+#include "NptWinRtUtils.h"
+
+/*----------------------------------------------------------------------
+| NPT_DebugOutput
++---------------------------------------------------------------------*/
+void
+NPT_DebugOutput(const char* message)
+{
+ NPT_WINRT_USE_CHAR_CONVERSION;
+ OutputDebugStringW(NPT_WINRT_A2W(message));
+}
+