summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcore/src/tbox/inc/linux/tbox.config.h18
m---------core/src/tbox/tbox0
2 files changed, 15 insertions, 3 deletions
diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h
index 6e801af8e..43fe30cf9 100755
--- a/core/src/tbox/inc/linux/tbox.config.h
+++ b/core/src/tbox/inc/linux/tbox.config.h
@@ -88,7 +88,11 @@
#define TB_CONFIG_LIBC_HAVE_SETJMP 1
#define TB_CONFIG_LIBC_HAVE_SIGSETJMP 1
#define TB_CONFIG_LIBC_HAVE_KILL 1
-/*#define TB_CONFIG_LIBC_HAVE_BACKTRACE 0*/
+#if defined(__ANDROID__)
+/* #undef TB_CONFIG_LIBC_HAVE_BACKTRACE */
+#else
+# define TB_CONFIG_LIBC_HAVE_BACKTRACE 1
+#endif
#define TB_CONFIG_LIBC_HAVE_SETLOCALE 1
#define TB_CONFIG_LIBC_HAVE_FPUTC 1
#define TB_CONFIG_LIBC_HAVE_FGETC 1
@@ -137,7 +141,11 @@
#define TB_CONFIG_POSIX_HAVE_PTHREAD_GETSPECIFIC 1
#define TB_CONFIG_POSIX_HAVE_PTHREAD_KEY_CREATE 1
#define TB_CONFIG_POSIX_HAVE_PTHREAD_KEY_DELETE 1
-/*#define TB_CONFIG_POSIX_HAVE_PTHREAD_SETAFFINITY_NP 0*/
+#if defined(__ANDROID__)
+/* #undef TB_CONFIG_POSIX_HAVE_PTHREAD_SETAFFINITY_NP */
+#else
+# define TB_CONFIG_POSIX_HAVE_PTHREAD_SETAFFINITY_NP 1
+#endif
#define TB_CONFIG_POSIX_HAVE_SOCKET 1
#define TB_CONFIG_POSIX_HAVE_POLL 1
#define TB_CONFIG_POSIX_HAVE_OPENDIR 1
@@ -164,7 +172,11 @@
#define TB_CONFIG_POSIX_HAVE_SENDFILE 1
#define TB_CONFIG_POSIX_HAVE_EPOLL_CREATE 1
#define TB_CONFIG_POSIX_HAVE_EPOLL_WAIT 1
-#define TB_CONFIG_POSIX_HAVE_POSIX_SPAWNP 1
+#if defined(__ANDROID__)
+/* #undef TB_CONFIG_POSIX_HAVE_POSIX_SPAWNP */
+#else
+# define TB_CONFIG_POSIX_HAVE_POSIX_SPAWNP 1
+#endif
#define TB_CONFIG_POSIX_HAVE_EXECVP 1
#define TB_CONFIG_POSIX_HAVE_EXECVPE 1
#define TB_CONFIG_POSIX_HAVE_FORK 1
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox
-Subproject 4ac60edcc97c37b41f08f9c67adfe52c32c2567
+Subproject 3d0518b8a1083bae849221a97025e33dc90bb9b