summaryrefslogtreecommitdiffstats
path: root/lib/libUPnP/Neptune/Source/System/Win32/NptWin32Console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libUPnP/Neptune/Source/System/Win32/NptWin32Console.cpp')
-rw-r--r--lib/libUPnP/Neptune/Source/System/Win32/NptWin32Console.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/libUPnP/Neptune/Source/System/Win32/NptWin32Console.cpp b/lib/libUPnP/Neptune/Source/System/Win32/NptWin32Console.cpp
new file mode 100644
index 0000000..e897f8a
--- /dev/null
+++ b/lib/libUPnP/Neptune/Source/System/Win32/NptWin32Console.cpp
@@ -0,0 +1,29 @@
+/*****************************************************************
+|
+| Neptune - Console Support: Win32 Implementation
+|
+| (c) 2002-2006 Gilles Boccon-Gibod
+| Author: Gilles Boccon-Gibod (bok@bok.net)
+|
+ ****************************************************************/
+
+/*----------------------------------------------------------------------
+| includes
++---------------------------------------------------------------------*/
+#include <windows.h>
+#include <stdio.h>
+
+#include "NptConfig.h"
+#include "NptConsole.h"
+#include "NptDebug.h"
+
+/*----------------------------------------------------------------------
+| NPT_Console::Output
++---------------------------------------------------------------------*/
+void
+NPT_Console::Output(const char* message)
+{
+ NPT_DebugOutput(message);
+ printf("%s", message);
+}
+