summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2019-11-01 00:50:39 +0800
committerruki <[email protected]>2019-10-31 23:03:54 +0800
commit56178606d872629cb3553bf912a742c84cf244e4 (patch)
treefd11ec3abab4cca7dc093f6d55b5c7c3ee40386f /core/src/xmake/machine.c
parent7d47837062fba756f66e7bea313cb59f9a026477 (diff)
export ffi/malloc for windows
Diffstat (limited to 'core/src/xmake/machine.c')
-rw-r--r--core/src/xmake/machine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index 4319023cc..c022ce6ab 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -29,6 +29,7 @@
* includes
*/
#include "xmake.h"
+#include "ffi.h"
#if defined(TB_CONFIG_OS_WINDOWS)
# include <windows.h>
# include <io.h>
@@ -692,6 +693,9 @@ xm_machine_ref_t xm_machine_init()
}
#endif
+ // bind ffi interfaces
+ xm_ffi_bind();
+
// ok
ok = tb_true;