ZFFramework
 
Loading...
Searching...
No Matches
ZFImpl_sys_iOS.h
1#ifndef _ZFI_ZFImpl_sys_iOS_h_
2#define _ZFI_ZFImpl_sys_iOS_h_
3
4#include "ZFCore/ZFCoreDef.h"
5
6#ifdef __APPLE__
7 #include "TargetConditionals.h"
8#endif
9
11
17#ifndef ZF_ENV_FORCE_sys_iOS
18 #define ZF_ENV_FORCE_sys_iOS 0
19#else
20 #undef ZF_ENV_FORCE_sys_iOS
21 #define ZF_ENV_FORCE_sys_iOS 1
22#endif
23
29#ifndef ZF_ENV_FORCE_not_sys_iOS
30 #define ZF_ENV_FORCE_not_sys_iOS 0
31#else
32 #undef ZF_ENV_FORCE_not_sys_iOS
33 #define ZF_ENV_FORCE_not_sys_iOS 1
34#endif
35
39#if !ZF_ENV_FORCE_not_sys_iOS && ((0 \
40 || (defined(__APPLE__) && (TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE)) \
41 ) || ZF_ENV_FORCE_sys_iOS)
42 #define ZF_ENV_sys_iOS 1
43#else
44 #define ZF_ENV_sys_iOS 0
45#endif
46
48#endif // #ifndef _ZFI_ZFImpl_sys_iOS_h_
49
necessary header file for all types
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98