2018-12-15 23:53:48 +09:00
|
|
|
#ifndef HAVE_FORK
|
2017-10-10 02:27:34 +02:00
|
|
|
#define HAVE_FORK 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HAVE_FORK
|
2017-11-03 19:53:11 +01:00
|
|
|
# if TARGET_OS_IPHONE || APPLE_SDK_IPHONEOS || APPLE_SDK_IPHONESIMULATOR
|
2022-05-18 10:41:27 +02:00
|
|
|
# define SPP_HAVE_SYSTEM 0
|
2017-10-10 02:27:34 +02:00
|
|
|
# else
|
2022-05-18 10:41:27 +02:00
|
|
|
# define SPP_HAVE_SYSTEM 1
|
2017-10-10 02:27:34 +02:00
|
|
|
# endif
|
|
|
|
#else
|
2022-05-18 10:41:27 +02:00
|
|
|
# define SPP_HAVE_SYSTEM 0
|
2017-10-10 02:27:34 +02:00
|
|
|
#endif
|
|
|
|
|
2022-05-18 10:41:27 +02:00
|
|
|
#if SPP_HAVE_SYSTEM
|
2017-07-05 12:01:02 +01:00
|
|
|
#include "p/sh.h"
|
2017-10-09 12:18:48 +02:00
|
|
|
#endif
|
2017-10-10 02:27:34 +02:00
|
|
|
|
2016-12-18 08:46:10 +00:00
|
|
|
#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,
|
2022-05-18 10:41:27 +02:00
|
|
|
#if SPP_HAVE_SYSTEM
|
2017-07-05 12:01:02 +01:00
|
|
|
&sh_proc,
|
2017-10-09 12:18:48 +02:00
|
|
|
#endif
|
2016-12-18 08:46:10 +00:00
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
|
|
|
DEFAULT_PROC(spp)
|
|
|
|
|
|
|
|
#define DEBUG 0
|