mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Build fix for iOS. Now compiles.
This commit is contained in:
parent
a680bed1d2
commit
630ee68b05
3 changed files with 8 additions and 3 deletions
|
@ -132,7 +132,9 @@ if(NOT MSVC)
|
|||
add_definitions(-msse2)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
if(IOS)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
|
||||
elseif(APPLE)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
||||
endif()
|
||||
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7.0)
|
||||
|
|
|
@ -34,8 +34,12 @@
|
|||
#include <list>
|
||||
#include <set>
|
||||
#ifndef __SYMBIAN32__
|
||||
#ifdef IOS
|
||||
#include <tr1/type_traits>
|
||||
#else
|
||||
#include <type_traits>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "Common.h"
|
||||
#include "FileUtil.h"
|
||||
|
|
|
@ -13,10 +13,9 @@
|
|||
#include "file/zip_read.h"
|
||||
#include "input/input_state.h"
|
||||
#include "net/resolve.h"
|
||||
#include "ui_atlas.h"
|
||||
#include "ui/screen.h"
|
||||
|
||||
#include "Config.h"
|
||||
#include "Core/Config.h"
|
||||
#include "gfx_es2/fbo.h"
|
||||
|
||||
#define IS_IPAD() ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad)
|
||||
|
|
Loading…
Add table
Reference in a new issue