mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module.
So this setting could be used by other source files if needed.
This commit is contained in:
committed by
Damien George
parent
994c1dd57a
commit
c34e7b9d4c
@@ -33,6 +33,10 @@
|
||||
#include "py/objstr.h"
|
||||
#include "py/objtype.h"
|
||||
|
||||
#if !MICROPY_ENABLE_DYNRUNTIME
|
||||
#error "dynruntime.h included in non-dynamic-module build."
|
||||
#endif
|
||||
|
||||
#undef MP_ROM_QSTR
|
||||
#undef MP_OBJ_QSTR_VALUE
|
||||
#undef MP_OBJ_NEW_QSTR
|
||||
|
||||
Reference in New Issue
Block a user