summaryrefslogtreecommitdiff
path: root/extmod/berkeley-db/berkeley_db_config_port.h
blob: 41e4acd81e80f1a3128fe6c8e4e4d39181a5c773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Berkeley-db configuration.

#define __DBINTERFACE_PRIVATE 1
#define mpool_error printf
#define abort abort_
#define virt_fd_t void*

#ifdef MICROPY_BERKELEY_DB_DEFPSIZE
#define DEFPSIZE MICROPY_BERKELEY_DB_DEFPSIZE
#endif

#ifdef MICROPY_BERKELEY_DB_MINCACHE
#define MINCACHE MICROPY_BERKELEY_DB_MINCACHE
#endif

__attribute__((noreturn)) void abort_(void);