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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy