8000 py/py.mk: Extra switches to build "embedded" BerkeleyDB BTree lib. · schlafsack/circuitpython@0dfe849 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0dfe849

Browse files
committed
py/py.mk: Extra switches to build "embedded" BerkeleyDB BTree lib.
1 parent 2ec9432 commit 0dfe849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/py.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ endif
6969

7070
ifeq ($(MICROPY_PY_BTREE),1)
7171
BTREE_DIR = lib/berkeley-db-1.xx
72-
CFLAGS_MOD += -D__DBINTERFACE_PRIVATE=1
72+
CFLAGS_MOD += -D__DBINTERFACE_PRIVATE=1 -Dmpool_error=printf -Dabort=abort_ -Dvirt_fd_t=mp_obj_t "-DVIRT_FD_T_HEADER=<py/obj.h>"
7373
INC += -I../$(BTREE_DIR)/PORT/include
7474
SRC_MOD += extmod/modbtree.c
7575
SRC_MOD += $(addprefix $(BTREE_DIR)/,\

0 commit comments

Comments
 (0)
0