From 38ca1407c9bb7643cb3385679b750eb0de45692e Mon Sep 17 00:00:00 2001 From: Vincent Cunningham Date: Sun, 28 Feb 2021 18:02:40 -0500 Subject: [PATCH] Fix platform difference errors --- Source/Common/IniFileClass.cpp | 1 - Source/Common/IniFileClass.h | 1 + Source/Common/Platform.h | 1 + Source/Project64-core/N64System/Enhancement/EnhancementList.h | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Common/IniFileClass.cpp b/Source/Common/IniFileClass.cpp index 2430aa88b..0f2113ac5 100644 --- a/Source/Common/IniFileClass.cpp +++ b/Source/Common/IniFileClass.cpp @@ -1,4 +1,3 @@ -#include "stdafx.h" #include #include diff --git a/Source/Common/IniFileClass.h b/Source/Common/IniFileClass.h index 40166ab6d..514798f3b 100644 --- a/Source/Common/IniFileClass.h +++ b/Source/Common/IniFileClass.h @@ -4,6 +4,7 @@ #include #endif +#include "stdafx.h" #include "FileClass.h" #include "CriticalSection.h" #include diff --git a/Source/Common/Platform.h b/Source/Common/Platform.h index 779973321..a5c3e9f73 100644 --- a/Source/Common/Platform.h +++ b/Source/Common/Platform.h @@ -4,6 +4,7 @@ #include #include +#define stricmp strcasecmp #define _stricmp strcasecmp #define _strnicmp strncasecmp #define _snprintf snprintf diff --git a/Source/Project64-core/N64System/Enhancement/EnhancementList.h b/Source/Project64-core/N64System/Enhancement/EnhancementList.h index bb88b1468..596295be8 100644 --- a/Source/Project64-core/N64System/Enhancement/EnhancementList.h +++ b/Source/Project64-core/N64System/Enhancement/EnhancementList.h @@ -9,6 +9,7 @@ * * ****************************************************************************/ #pragma once +#include #include #include #include