mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Added #ifdef _WIN32 to Windows-specific files
--HG-- branch : trunk
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// MSDN Magazine, 2002
|
||||
// FILE: WheatyExceptionReport.CPP
|
||||
//==========================================
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#pragma warning(disable:4996)
|
||||
#pragma warning(disable:4312)
|
||||
@@ -1037,3 +1038,4 @@ int __cdecl WheatyExceptionReport::_tprintf(const TCHAR * format, ...)
|
||||
return retValue;
|
||||
}
|
||||
|
||||
#endif // _WIN32
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef _WHEATYEXCEPTIONREPORT_
|
||||
#define _WHEATYEXCEPTIONREPORT_
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <dbghelp.h>
|
||||
|
||||
#if _MSC_VER < 1400
|
||||
@@ -116,5 +118,6 @@ class WheatyExceptionReport
|
||||
};
|
||||
|
||||
extern WheatyExceptionReport g_WheatyExceptionReport; // global instance of class
|
||||
#endif //WheatyExceptionReport
|
||||
#endif // _WIN32
|
||||
#endif // _WHEATYEXCEPTIONREPORT_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user