mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
preprocessor macros for iOS
This commit is contained in:
parent
f1501c9698
commit
8b21655458
2 changed files with 18 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue