summaryrefslogtreecommitdiff
path: root/py/modsys.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-12-15 15:13:33 +1100
committerDamien George <damien.p.george@gmail.com>2018-12-22 01:40:38 +1100
commit7cd59c5bc3ed2d4ade54e73fae18985b4b46ee42 (patch)
tree34524fa1c2f31addcad3374c8f05702128cd8a5c /py/modsys.c
parentce0c58117913f805db99767b22ecb7255b8686a1 (diff)
py/mpconfig: Move MICROPY_VERSION macros to static ones in mpconfig.h.
It's more robust to have the version defined statically in a header file, rather than dynamically generating it via git using a git tag. In case git doesn't exist, or a different source control tool is used, it's important to still have the uPy version number available.
Diffstat (limited to 'py/modsys.c')
-rw-r--r--py/modsys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/py/modsys.c b/py/modsys.c
index 98addfcfc..343451732 100644
--- a/py/modsys.c
+++ b/py/modsys.c
@@ -37,8 +37,6 @@
#if MICROPY_PY_SYS
-#include "genhdr/mpversion.h"
-
// defined per port; type of these is irrelevant, just need pointer
extern struct _mp_dummy_t mp_sys_stdin_obj;
extern struct _mp_dummy_t mp_sys_stdout_obj;