diff options
| author | David Lechner <david@pybricks.com> | 2022-11-16 17:31:21 -0600 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2022-11-17 23:20:58 +1100 |
| commit | 4dcfd19bbfa5e1009bd4e0fe95f41a47452493f9 (patch) | |
| tree | ff5d8cc1c649983dd8981a4cccb17d8bdc13c065 /extmod | |
| parent | 859d0e9529b90d6745dba347271d0d9b610da4aa (diff) | |
extmod/extmod.cmake: Add MICROPY_PY_BTREE compiler definition.
Instead of defining `MICROPY_PY_BTREE` in `mpconfigport.h` we can define
it via CMake similar to how other ports that use Makefiles define it in
`mpconfigport.mk`.
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'extmod')
| -rw-r--r-- | extmod/extmod.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/extmod.cmake b/extmod/extmod.cmake index 2207a951a..ed7d16d1b 100644 --- a/extmod/extmod.cmake +++ b/extmod/extmod.cmake @@ -93,6 +93,7 @@ if(MICROPY_PY_BTREE) ) list(APPEND MICROPY_DEF_CORE + MICROPY_PY_BTREE=1 __DBINTERFACE_PRIVATE=1 "virt_fd_t=void*" ) |
