| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- //
- // Copyright 2020 Electronic Arts Inc.
- //
- // TiberianDawn.DLL and RedAlert.dll and corresponding source code is free
- // software: you can redistribute it and/or modify it under the terms of
- // the GNU General Public License as published by the Free Software Foundation,
- // either version 3 of the License, or (at your option) any later version.
- // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed
- // in the hope that it will be useful, but with permitted additional restrictions
- // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
- // distributed with this program. You should have received a copy of the
- // GNU General Public License along with permitted additional restrictions
- // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
- /*
- declarations for Win95 tracing facility
- */
- #ifdef _DEBUG
- #ifndef __TRACEW95__
- #define __TRACEW95__
- #include <windows.h>
- // redefine all the MFC macros to point to us
- #undef TRACE
- #define TRACE OutputDebugStringW95
- #undef TRACE0
- #define TRACE0 OutputDebugStringW95
- #undef TRACE1
- #define TRACE1 OutputDebugStringW95
- #undef TRACE2
- #define TRACE2 OutputDebugStringW95
- #undef TRACE3
- #define TRACE3 OutputDebugStringW95
- // redefine OutputDebugString so that it works with
- // API calls
- #undef OutputDebugString
- #define OutputDebugString OutputDebugStringW95
- // function declarations
- void OutputDebugStringW95( LPCTSTR lpOutputString, ... );
- #endif //__TRACEW95__
- #endif // _DEBUG
|