summaryrefslogtreecommitdiff
path: root/core/src/tbox
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-11 22:50:34 +0800
committerruki <[email protected]>2020-02-11 11:03:30 +0800
commita0ff9f3cf3e5a425e8f7b4313e8b42a08effda42 (patch)
tree06ec87b8110ba5678430ff71ca81f514d88a4f0d /core/src/tbox
parent91b153126ec824195bb45b38f04e07ff9cba3029 (diff)
support msys and cygwin
Diffstat (limited to 'core/src/tbox')
-rwxr-xr-xcore/src/tbox/inc/mingw/tbox.config.h10
-rw-r--r--core/src/tbox/makefile1
m---------core/src/tbox/tbox0
3 files changed, 6 insertions, 5 deletions
diff --git a/core/src/tbox/inc/mingw/tbox.config.h b/core/src/tbox/inc/mingw/tbox.config.h
index 1ebf62cad..b59348bba 100755
--- a/core/src/tbox/inc/mingw/tbox.config.h
+++ b/core/src/tbox/inc/mingw/tbox.config.h
@@ -147,7 +147,7 @@
#define TB_CONFIG_POSIX_HAVE_OPENDIR 1
/* #undef TB_CONFIG_POSIX_HAVE_DLOPEN */
#define TB_CONFIG_POSIX_HAVE_OPEN 1
-#define TB_CONFIG_POSIX_HAVE_STAT64 1
+/* #undef TB_CONFIG_POSIX_HAVE_STAT64 */
/* #undef TB_CONFIG_POSIX_HAVE_GETHOSTNAME */
/* #undef TB_CONFIG_POSIX_HAVE_GETIFADDRS */
#define TB_CONFIG_POSIX_HAVE_SEM_INIT 1
@@ -168,19 +168,19 @@
/* #undef TB_CONFIG_POSIX_HAVE_SENDFILE */
/* #undef TB_CONFIG_POSIX_HAVE_EPOLL_CREATE */
/* #undef TB_CONFIG_POSIX_HAVE_EPOLL_WAIT */
-/* #undef TB_CONFIG_POSIX_HAVE_POSIX_SPAWNP */
+#define TB_CONFIG_POSIX_HAVE_POSIX_SPAWNP 1
#define TB_CONFIG_POSIX_HAVE_EXECVP 1
#define TB_CONFIG_POSIX_HAVE_EXECVPE 1
/* #undef TB_CONFIG_POSIX_HAVE_FORK */
/* #undef TB_CONFIG_POSIX_HAVE_VFORK */
-/* #undef TB_CONFIG_POSIX_HAVE_WAITPID */
+#define TB_CONFIG_POSIX_HAVE_WAITPID 1
/* #undef TB_CONFIG_POSIX_HAVE_GETDTABLESIZE */
/* #undef TB_CONFIG_POSIX_HAVE_GETRLIMIT */
/* #undef TB_CONFIG_POSIX_HAVE_GETADDRINFO */
/* #undef TB_CONFIG_POSIX_HAVE_GETNAMEINFO */
/* #undef TB_CONFIG_POSIX_HAVE_GETHOSTBYNAME */
/* #undef TB_CONFIG_POSIX_HAVE_GETHOSTBYADDR */
-/* #undef TB_CONFIG_POSIX_HAVE_FCNTL */
+#define TB_CONFIG_POSIX_HAVE_FCNTL 1
/* #undef TB_CONFIG_POSIX_HAVE_PIPE */
/* #undef TB_CONFIG_POSIX_HAVE_PIPE2 */
/* #undef TB_CONFIG_POSIX_HAVE_MKFIFO */
@@ -217,7 +217,7 @@
/* #undef TB_CONFIG_WINDOWS_HAVE__INTERLOCKEDCOMPAREEXCHANGE64_REL */
// freebsd functions
-/* #undef TB_CONFIG_FREEBSD_HAVE_FLOCK */
+#define TB_CONFIG_FREEBSD_HAVE_FLOCK 1
// systemv functions
/* #undef TB_CONFIG_SYSTEMV_HAVE_SEMGET */
diff --git a/core/src/tbox/makefile b/core/src/tbox/makefile
index 0cb17660b..37f0fcc61 100644
--- a/core/src/tbox/makefile
+++ b/core/src/tbox/makefile
@@ -272,6 +272,7 @@ tbox_C_FILES += \
tbox/src/tbox/platform/windows/socket_pool \
tbox/src/tbox/platform/windows/interface/ws2_32 \
tbox/src/tbox/platform/windows/interface/shell32 \
+ tbox/src/tbox/platform/windows/interface/dbghelp \
tbox/src/tbox/platform/windows/interface/mswsock \
tbox/src/tbox/platform/windows/interface/kernel32 \
tbox/src/tbox/platform/windows/interface/iphlpapi \
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox
-Subproject 1c2fb0e4b972d5571ed3c6246e84ff168d64400
+Subproject bb10bf4631a8f5cff2e7bbe4da90c1fd9d5dc9b