summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/WinterSpeak/general/debug/debug.h
blob: a50189cf976672fadb2066ad8f8021403f456ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef guard_general_debug_debug_h
#define guard_general_debug_debug_h
//==============================================================================

//------------------------------------------------------------------------------
#ifdef _DEBUG
    
	#include <iostream>

	#define CLASSCERR(string) (std::cerr << this << " " << string << std::endl)
    #define CERR(string) (std::cerr << "         " << string << std::endl)

#else

	#define CLASSCERR(string)
    #define CERR(string)

#endif

//==============================================================================
#endif