Remove internal conditionals to use defined flag
This commit is contained in:
parent
c17486a0ef
commit
e138cca4b9
|
@ -48,7 +48,7 @@
|
|||
* <fp.h> if possible.
|
||||
*/
|
||||
# if !defined(__MATH_H__) && !defined(__MATH_H) && !defined(__cmath__)
|
||||
# if TARGET_OS_IPHONE
|
||||
# if TARGET_IPHONE
|
||||
# include "fp.h"
|
||||
# else
|
||||
# include <fp.h>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/time.h>
|
||||
#if !defined(_ANDROID) && !defined(TARGET_OS_IPHONE) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) && !defined(TARGET_OSX)
|
||||
#if !defined(_ANDROID) && !defined(TARGET_IPHONE) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) && !defined(TARGET_OSX)
|
||||
#include <sys/personality.h>
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
@ -263,7 +263,7 @@ double os_GetSeconds()
|
|||
return a.tv_sec-tvs_base+a.tv_usec/1000000.0;
|
||||
}
|
||||
|
||||
#if TARGET_OS_IPHONE
|
||||
#if TARGET_IPHONE
|
||||
void os_DebugBreak() {
|
||||
__asm__("trap");
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#define reicast_ios_reicast_ios_Prefix_pch
|
||||
|
||||
#import <Availability.h>
|
||||
#import <TargetConditionals.h>
|
||||
|
||||
#ifndef __IPHONE_5_0
|
||||
#warning "This project uses features only available in iOS SDK 5.0 and later."
|
||||
|
|
Loading…
Reference in New Issue