preload-hacks: Some patches to make it work.
[termux-packages] / ndk-patches / cstddef.cpppatch
1 --- /home/builder/cstddef.orig 2017-07-15 01:17:10.637496279 +0000
2 +++ ./cstddef 2017-07-15 10:28:28.526713523 +0000
3 @@ -40,7 +40,11 @@
4 #endif
5
6 // Don't include our own <stddef.h>; we don't want to declare ::nullptr_t.
7 +#ifdef __clang__
8 #include_next <stddef.h>
9 +#else
10 +#include "../../../lib/gcc/@TERMUX_HOST_PLATFORM@/4.9.x/include/stddef.h"
11 +#endif
12 #include <__nullptr>
13
14 _LIBCPP_BEGIN_NAMESPACE_STD