Commit 289383f0 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Fixing debug output, linux uses all-default fallbacks on std::cout instead of i.e. MSVC console

parent 365c27e0
......@@ -5,13 +5,18 @@
#include <ITACriticalSection.h>
#include <stdio.h>
#include <stdarg.h>
#include <windows.h>
#define DEBUG_PRINTF_BUFSIZE 16384
#ifdef WIN32
#include <windows.h>
// Ausgabe in Visual Studio? Andernfalls Konsole (stdout)
#define DEBUG_PRINTF_MSVC
#endif
#define DEBUG_PRINTF_BUFSIZE 16384
// Lock fr den Puffer in den Ausgabe-Routinen
static ITACriticalSection g_csDebugPrintf;
static char g_pszDebugPrintfBuf[16384];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment