chiark / gitweb /
Update NDK used to r16
[termux-packages] / ndk-patches / spawn.h.patch
1 diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/spawn.h ./usr/include/spawn.h
2 --- /home/fornwall/lib/android-ndk/sysroot/usr/include/spawn.h  2017-11-09 09:57:12.000000000 +0100
3 +++ ./usr/include/spawn.h       2017-11-15 12:08:34.911786251 +0100
4 @@ -36,6 +36,8 @@
5  
6  __BEGIN_DECLS
7  
8 +#if __ANDROID_API__ >= __ANDROID_API_FUTURE__
9 +
10  #define POSIX_SPAWN_RESETIDS 1
11  #define POSIX_SPAWN_SETPGROUP 2
12  #define POSIX_SPAWN_SETSIGDEF 4
13 @@ -51,7 +53,6 @@
14  typedef struct __posix_spawn_file_actions* posix_spawn_file_actions_t;
15  
16  
17 -#if __ANDROID_API__ >= __ANDROID_API_FUTURE__
18  int posix_spawn(pid_t* __pid, const char* __path, const posix_spawn_file_actions_t* __actions, const posix_spawnattr_t* __attr, char* const __argv[], char* const __env[]) __INTRODUCED_IN_FUTURE;
19  int posix_spawnp(pid_t* __pid, const char* __file, const posix_spawn_file_actions_t* __actions, const posix_spawnattr_t* __attr, char* const __argv[], char* const __env[]) __INTRODUCED_IN_FUTURE;
20