mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Removed OutputDebugString support until I can test it on a Windows machine
This commit is contained in:
parent
ae307b000a
commit
5108821199
@ -87,9 +87,11 @@
|
|||||||
|
|
||||||
inline void writeToDebugConsole( const std::string& text )
|
inline void writeToDebugConsole( const std::string& text )
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
// !TBD: Get Windows version working
|
||||||
::OutputDebugStringA( text.get() );
|
// - need to declare OutputDebugStringA without Windows.h
|
||||||
#else
|
//#ifdef _WIN32
|
||||||
|
// ::OutputDebugStringA( text.c_str() );
|
||||||
|
//#else
|
||||||
// !TBD: Need a version for Mac/ XCode and other IDEs
|
// !TBD: Need a version for Mac/ XCode and other IDEs
|
||||||
std::cout << text;
|
std::cout << text;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user