Erwxan
-fix compilation issue on windows
This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
#ifndef _DEBUG_H_
|
#ifndef _DEBUG_H_
|
||||||
#define _DEBUG_H_
|
#define _DEBUG_H_
|
||||||
|
|
||||||
|
#if WIN32
|
||||||
|
#define snprintf sprintf_s
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined (WIN32) || defined (LINUX)
|
#if defined (WIN32) || defined (LINUX)
|
||||||
#define TESTSUITE 1
|
#define TESTSUITE 1
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define OutputDebugString(val) {}
|
#define OutputDebugString(val) {}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user