summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-23 00:32:08 +0800
committerruki <[email protected]>2022-07-23 00:32:08 +0800
commit5b194189014255d7d6bed74531e4610b45f2fe34 (patch)
tree35c806a8604338ce097397e197b8d8293aa5d5bd /core/src
parentf84814e6c98db75e538007cebd7edee34710b275 (diff)
update tbox
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/tbox/inc/linux/tbox.config.h3
-rw-r--r--core/src/tbox/makefile4
m---------core/src/tbox/tbox0
3 files changed, 7 insertions, 0 deletions
diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h
index d3e16a6a3..b5e0faa7f 100755
--- a/core/src/tbox/inc/linux/tbox.config.h
+++ b/core/src/tbox/inc/linux/tbox.config.h
@@ -203,4 +203,7 @@
// valgrind functions
/* #undef TB_CONFIG_SYSTEMV_HAVE_VALGRIND_STACK_REGISTER */
+// linux functions
+#define TB_CONFIG_LINUX_HAVE_INOTIFY_INIT 1
+
#endif
diff --git a/core/src/tbox/makefile b/core/src/tbox/makefile
index f24303eb1..d361fc860 100644
--- a/core/src/tbox/makefile
+++ b/core/src/tbox/makefile
@@ -229,6 +229,7 @@ tbox_C_FILES += \
tbox/src/tbox/platform/print \
tbox/src/tbox/platform/stdfile \
tbox/src/tbox/platform/process \
+ tbox/src/tbox/platform/fwatcher \
tbox/src/tbox/platform/cpu \
tbox/src/tbox/platform/sched \
tbox/src/tbox/platform/semaphore \
@@ -302,6 +303,9 @@ tbox_INC_DIRS += \
tbox/src \
inc/$(PLAT)
+# add frameworks
+tbox_CFLAGS += -framework CoreFoundation -framework CoreServices
+
# use system tbox library?
tbox_C_FILES := $(if $(findstring tbox,$(base_LIBNAMES)),,$(tbox_C_FILES))
tbox_M_FILES := $(if $(findstring tbox,$(base_LIBNAMES)),,$(tbox_M_FILES))
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox
-Subproject 0cdd892038242128bbefa4f00dcb4cc451c751d
+Subproject 138ea23adf94e2ef4f7db7984fe432872abf3b5