From a84597f266358f14ea1a51bd7cbefe971ae668c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 4 Dec 2014 07:21:14 +0100 Subject: [PATCH] Untested attempt at fixing the iOS build (see #6972) --- UI/GameInfoCache.cpp | 2 +- UI/NativeApp.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/GameInfoCache.cpp b/UI/GameInfoCache.cpp index e825ae6610..6c567b3467 100644 --- a/UI/GameInfoCache.cpp +++ b/UI/GameInfoCache.cpp @@ -38,7 +38,7 @@ #include "Core/Config.h" #include "UI/GameInfoCache.h" -#ifdef __SYMBIAN32__ +#if defined(__SYMBIAN32__) || defined(IOS) #define unique_ptr auto_ptr #endif diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 7bfe4fe7a7..89d41da0e4 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -96,7 +96,7 @@ #include "Common/KeyMap.h" #endif -#ifdef __SYMBIAN32__ +#if defined(__SYMBIAN32__) || defined(IOS) #define unique_ptr auto_ptr #endif