mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 15:38:09 +00:00
9f08ccbcc4
* Fix system() not available for iOS Simulator * Embedding Bitcode should be set in sys/ios-sdk.sh. Removed unused code * Supports now all available iOS archs and the simulator
38 lines
503 B
C
38 lines
503 B
C
#ifdef HAVE_FORK
|
|
#define HAVE_FORK 1
|
|
#endif
|
|
|
|
#if HAVE_FORK
|
|
# if TARGET_OS_IPHONE || APPLE_SDK_IPHONEOS || APPLE_SDK_IPHONESIMULATOR
|
|
# define HAVE_SYSTEM 0
|
|
# else
|
|
# define HAVE_SYSTEM 1
|
|
# endif
|
|
#else
|
|
# define HAVE_SYSTEM 0
|
|
#endif
|
|
|
|
#if HAVE_SYSTEM
|
|
#include "p/sh.h"
|
|
#endif
|
|
|
|
#include "p/spp.h"
|
|
#include "p/acr.h"
|
|
#include "p/pod.h"
|
|
#include "p/cpp.h"
|
|
|
|
struct Proc *procs[] = {
|
|
&spp_proc,
|
|
&cpp_proc,
|
|
&pod_proc,
|
|
&acr_proc,
|
|
#if HAVE_SYSTEM
|
|
&sh_proc,
|
|
#endif
|
|
NULL
|
|
};
|
|
|
|
DEFAULT_PROC(spp)
|
|
|
|
#define DEBUG 0
|