Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef _DEBUG_H_
|
||||
#define _DEBUG_H_
|
||||
|
||||
#ifdef __MACOSX__
|
||||
#if DEBUG
|
||||
#define DebugPrint printf
|
||||
#else
|
||||
#define DebugPrint
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int DebugPrint( const char * fmt, ... );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef TRACE
|
||||
#define TRACE DebugPrint
|
||||
#endif
|
||||
|
||||
#endif //_DEBUG_H_
|
||||
Reference in New Issue
Block a user