Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
VACore
Commits
289383f0
Commit
289383f0
authored
Feb 03, 2017
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Utils/VADebug.cpp
View file @
289383f0
...
...
@@ -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
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment