mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Add outputdebugstring.h
This commit is contained in:
parent
1ced050d38
commit
64ad774209
@ -87,5 +87,7 @@ void InitSettings();
|
|||||||
|
|
||||||
void UnFuck(DWORD addr, int size);
|
void UnFuck(DWORD addr, int size);
|
||||||
|
|
||||||
|
#include "outputdebugstring.h"
|
||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
// EOF
|
// EOF
|
||||||
|
14
saco/outputdebugstring.h
Normal file
14
saco/outputdebugstring.h
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// Ensure OutputDebugString() is disabled on release builds
|
||||||
|
|
||||||
|
#ifndef _DEBUG
|
||||||
|
|
||||||
|
#undef OutputDebugString
|
||||||
|
#define OutputDebugString(a) NULL
|
||||||
|
|
||||||
|
#undef OutputDebugStringW
|
||||||
|
#define OutputDebugStringW(a) NULL
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user