Core: Fix warnings for msvc
This commit is contained in:
1 parent
41c7f35a31
commit
8aaaaedbdd
4 files changed
+4
-4
No files matched your search
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "DetourAlloc.h"
|
||||
|
||||
#if defined(WIN32) && not defined(__MINGW32__)
|
||||
#if defined(WIN32) && !defined(__MINGW32__)
|
||||
typedef unsigned __int64 uint64;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -7,7 +7,7 @@ index 52d2c50..99e30c7 100644
|
||||
#include "DetourAlloc.h"
|
||||
|
||||
-#ifdef WIN32
|
||||
+#if defined(WIN32) && not defined(__MINGW32__)
|
||||
+#if defined(WIN32) && !defined(__MINGW32__)
|
||||
typedef unsigned __int64 uint64;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
@@ -3,7 +3,7 @@
|
||||
// MSDN Magazine, 2002
|
||||
// FILE: WheatyExceptionReport.CPP
|
||||
//==========================================
|
||||
#if PLATFORM == PLATFORM_WINDOWS && not defined(__MINGW32__)
|
||||
#if PLATFORM == PLATFORM_WINDOWS && !defined(__MINGW32__)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#pragma warning(disable:4996)
|
||||
#pragma warning(disable:4312)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _WHEATYEXCEPTIONREPORT_
|
||||
#define _WHEATYEXCEPTIONREPORT_
|
||||
|
||||
#if PLATFORM == PLATFORM_WINDOWS && not defined(__MINGW32__)
|
||||
#if PLATFORM == PLATFORM_WINDOWS && !defined(__MINGW32__)
|
||||
|
||||
#include <dbghelp.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user