preprocessor macros for iOS
This commit is contained in:
1 parent
f1501c9698
commit
8b21655458
2 files changed
+18
-1
No files matched your search
@@ -8,6 +8,15 @@
|
||||
#ifndef lconfig_h
|
||||
#define lconfig_h
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include "TargetConditionals.h"
|
||||
#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV
|
||||
#define system(s) ((s)==NULL ? 0 : -1)
|
||||
#endif // end iOS
|
||||
#elif defined(__ANDROID__)
|
||||
#define system(s) ((s)==NULL ? 0 : -1)
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user