diff options
| author | ruki <[email protected]> | 2019-07-06 00:37:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-07-05 22:11:19 +0800 |
| commit | 671b2c12e93a877e39f212577f9266ed95a9ed2d (patch) | |
| tree | e8215f6d19e3d6bf16be0381fe0e198d32bf15c0 | |
| parent | 82e9fa94cf4904361718c003cd5a32f6d618469e (diff) | |
update tbox.config.h for linux
| -rwxr-xr-x | core/src/tbox/inc/linux/tbox.config.h | 63 |
1 files changed, 58 insertions, 5 deletions
diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h index 5463cd8bc..5d061fcc5 100755 --- a/core/src/tbox/inc/linux/tbox.config.h +++ b/core/src/tbox/inc/linux/tbox.config.h @@ -2,49 +2,82 @@ #define TB_CONFIG_H // version -#define TB_CONFIG_VERSION "1.6.2" +#define TB_CONFIG_VERSION "1.6.3" #define TB_CONFIG_VERSION_MAJOR 1 #define TB_CONFIG_VERSION_MINOR 6 -#define TB_CONFIG_VERSION_ALTER 2 -#define TB_CONFIG_VERSION_BUILD 201705202359 +#define TB_CONFIG_VERSION_ALTER 3 +#define TB_CONFIG_VERSION_BUILD 201907051345 // defines #define TB_CONFIG_OS_LINUX 1 #define _GNU_SOURCE 1 #define _REENTRANT 1 #define TB_CONFIG_SMALL 1 +/* #undef TB_CONFIG_MICRO_ENABLE */ +/* #undef TB_CONFIG_TYPE_HAVE_WCHAR */ #define TB_CONFIG_TYPE_HAVE_FLOAT 1 #define TB_CONFIG_FORCE_UTF8 1 + +// keywords +#define TB_CONFIG_KEYWORD_HAVE__thread 1 +#define TB_CONFIG_KEYWORD_HAVE_Thread_local 1 + +// modules +/* #undef TB_CONFIG_MODULE_HAVE_XML */ +/* #undef TB_CONFIG_MODULE_HAVE_ZIP */ #define TB_CONFIG_MODULE_HAVE_HASH 1 +/* #undef TB_CONFIG_MODULE_HAVE_REGEX */ +/* #undef TB_CONFIG_MODULE_HAVE_OBJECT */ #define TB_CONFIG_MODULE_HAVE_CHARSET 1 +/* #undef TB_CONFIG_MODULE_HAVE_DATABASE */ +/* #undef TB_CONFIG_MODULE_HAVE_COROUTINE */ + +// packages +/* #undef TB_CONFIG_PACKAGE_HAVE_ZLIB */ +/* #undef TB_CONFIG_PACKAGE_HAVE_MYSQL */ +/* #undef TB_CONFIG_PACKAGE_HAVE_SQLITE3 */ +/* #undef TB_CONFIG_PACKAGE_HAVE_OPENSSL */ +/* #undef TB_CONFIG_PACKAGE_HAVE_POLARSSL */ +/* #undef TB_CONFIG_PACKAGE_HAVE_MBEDTLS */ +/* #undef TB_CONFIG_PACKAGE_HAVE_PCRE2 */ +/* #undef TB_CONFIG_PACKAGE_HAVE_PCRE */ + +// libc functions #define TB_CONFIG_LIBC_HAVE_MEMCPY 1 #define TB_CONFIG_LIBC_HAVE_MEMSET 1 #define TB_CONFIG_LIBC_HAVE_MEMMOVE 1 #define TB_CONFIG_LIBC_HAVE_MEMCMP 1 +#define TB_CONFIG_LIBC_HAVE_MEMMEM 1 #define TB_CONFIG_LIBC_HAVE_STRCAT 1 #define TB_CONFIG_LIBC_HAVE_STRNCAT 1 #define TB_CONFIG_LIBC_HAVE_STRCPY 1 #define TB_CONFIG_LIBC_HAVE_STRNCPY 1 +/* #undef TB_CONFIG_LIBC_HAVE_STRLCPY */ #define TB_CONFIG_LIBC_HAVE_STRLEN 1 #define TB_CONFIG_LIBC_HAVE_STRNLEN 1 #define TB_CONFIG_LIBC_HAVE_STRSTR 1 +#define TB_CONFIG_LIBC_HAVE_STRCASESTR 1 #define TB_CONFIG_LIBC_HAVE_STRCMP 1 #define TB_CONFIG_LIBC_HAVE_STRCASECMP 1 #define TB_CONFIG_LIBC_HAVE_STRNCMP 1 #define TB_CONFIG_LIBC_HAVE_STRNCASECMP 1 + #define TB_CONFIG_LIBC_HAVE_WCSCAT 1 #define TB_CONFIG_LIBC_HAVE_WCSNCAT 1 #define TB_CONFIG_LIBC_HAVE_WCSCPY 1 #define TB_CONFIG_LIBC_HAVE_WCSNCPY 1 +/* #undef TB_CONFIG_LIBC_HAVE_WCSLCPY */ #define TB_CONFIG_LIBC_HAVE_WCSLEN 1 #define TB_CONFIG_LIBC_HAVE_WCSNLEN 1 #define TB_CONFIG_LIBC_HAVE_WCSSTR 1 +/* #undef TB_CONFIG_LIBC_HAVE_WCSCASESTR */ #define TB_CONFIG_LIBC_HAVE_WCSCMP 1 #define TB_CONFIG_LIBC_HAVE_WCSCASECMP 1 #define TB_CONFIG_LIBC_HAVE_WCSNCMP 1 #define TB_CONFIG_LIBC_HAVE_WCSNCASECMP 1 #define TB_CONFIG_LIBC_HAVE_WCSTOMBS 1 #define TB_CONFIG_LIBC_HAVE_MBSTOWCS 1 + #define TB_CONFIG_LIBC_HAVE_GMTIME 1 #define TB_CONFIG_LIBC_HAVE_MKTIME 1 #define TB_CONFIG_LIBC_HAVE_LOCALTIME 1 @@ -55,15 +88,19 @@ #define TB_CONFIG_LIBC_HAVE_KILL 1 #define TB_CONFIG_LIBC_HAVE_BACKTRACE 1 #define TB_CONFIG_LIBC_HAVE_SETLOCALE 1 -#define TB_CONFIG_LIBC_HAVE_FPUTS 1 -#define TB_CONFIG_LIBC_HAVE_FGETS 1 #define TB_CONFIG_LIBC_HAVE_FPUTC 1 #define TB_CONFIG_LIBC_HAVE_FGETC 1 #define TB_CONFIG_LIBC_HAVE_UNGETC 1 +#define TB_CONFIG_LIBC_HAVE_FPUTS 1 +#define TB_CONFIG_LIBC_HAVE_FGETS 1 #define TB_CONFIG_LIBC_HAVE_FREAD 1 #define TB_CONFIG_LIBC_HAVE_FWRITE 1 #define TB_CONFIG_LIBC_HAVE_SRANDOM 1 #define TB_CONFIG_LIBC_HAVE_RANDOM 1 + +// libm functions +#define TB_CONFIG_LIBM_HAVE_SINCOS 1 +#define TB_CONFIG_LIBM_HAVE_SINCOSF 1 #define TB_CONFIG_LIBM_HAVE_LOG2 1 #define TB_CONFIG_LIBM_HAVE_LOG2F 1 #define TB_CONFIG_LIBM_HAVE_SQRT 1 @@ -88,6 +125,8 @@ #define TB_CONFIG_LIBM_HAVE_SINF 1 #define TB_CONFIG_LIBM_HAVE_EXP 1 #define TB_CONFIG_LIBM_HAVE_EXPF 1 + +// posix functions #define TB_CONFIG_POSIX_HAVE_POLL 1 #define TB_CONFIG_POSIX_HAVE_SELECT 1 #define TB_CONFIG_POSIX_HAVE_PTHREAD_MUTEX_INIT 1 @@ -96,28 +135,36 @@ #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 1 #define TB_CONFIG_POSIX_HAVE_SOCKET 1 +#define TB_CONFIG_POSIX_HAVE_POLL 1 #define TB_CONFIG_POSIX_HAVE_OPENDIR 1 #define TB_CONFIG_POSIX_HAVE_DLOPEN 1 #define TB_CONFIG_POSIX_HAVE_OPEN 1 +#define TB_CONFIG_POSIX_HAVE_STAT64 1 #define TB_CONFIG_POSIX_HAVE_GETHOSTNAME 1 #define TB_CONFIG_POSIX_HAVE_GETIFADDRS 1 #define TB_CONFIG_POSIX_HAVE_SEM_INIT 1 #define TB_CONFIG_POSIX_HAVE_GETPAGESIZE 1 #define TB_CONFIG_POSIX_HAVE_SYSCONF 1 #define TB_CONFIG_POSIX_HAVE_SCHED_YIELD 1 +#define TB_CONFIG_POSIX_HAVE_SCHED_SETAFFINITY 1 #define TB_CONFIG_POSIX_HAVE_REGCOMP 1 #define TB_CONFIG_POSIX_HAVE_REGEXEC 1 #define TB_CONFIG_POSIX_HAVE_READV 1 #define TB_CONFIG_POSIX_HAVE_WRITEV 1 #define TB_CONFIG_POSIX_HAVE_PREADV 1 #define TB_CONFIG_POSIX_HAVE_PWRITEV 1 +#define TB_CONFIG_POSIX_HAVE_PREAD64 1 +#define TB_CONFIG_POSIX_HAVE_PWRITE64 1 #define TB_CONFIG_POSIX_HAVE_FDATASYNC 1 +/* #undef TB_CONFIG_POSIX_HAVE_COPYFILE */ #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 #define TB_CONFIG_POSIX_HAVE_EXECVP 1 +#define TB_CONFIG_POSIX_HAVE_EXECVPE 1 #define TB_CONFIG_POSIX_HAVE_FORK 1 #define TB_CONFIG_POSIX_HAVE_VFORK 1 #define TB_CONFIG_POSIX_HAVE_WAITPID 1 @@ -127,6 +174,12 @@ #define TB_CONFIG_POSIX_HAVE_GETNAMEINFO 1 #define TB_CONFIG_POSIX_HAVE_GETHOSTBYNAME 1 #define TB_CONFIG_POSIX_HAVE_GETHOSTBYADDR 1 + +// systemv functions #define TB_CONFIG_SYSTEMV_HAVE_SEMGET 1 +#define TB_CONFIG_SYSTEMV_HAVE_SEMTIMEDOP 1 + +// valgrind functions +/* #undef TB_CONFIG_SYSTEMV_HAVE_VALGRIND_STACK_REGISTER */ #endif |
