[saco] Add outputdebugstring.h

This commit is contained in:
RD42 2024-07-22 18:26:07 +08:00
parent 1ced050d38
commit 64ad774209
2 changed files with 16 additions and 0 deletions

View File

@ -87,5 +87,7 @@ void InitSettings();
void UnFuck(DWORD addr, int size);
#include "outputdebugstring.h"
//----------------------------------------------------
// EOF

14
saco/outputdebugstring.h Normal file
View 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