aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorDamien George2014-05-24 23:03:12 +0100
committerDamien George2014-05-24 23:03:12 +0100
commitee3fd46f1383e984c968c4a82d634d7b0cea49b8 (patch)
tree76eb38f9015df5d003f646ce019745426365021c /windows
parentd0ceb04b90ca7edd7e45b8eff1cdebdfa20a0cf8 (diff)
Rename configuration variables controling Python features.
Now of the form MICROPY_PY_*. See issue #35.
Diffstat (limited to 'windows')
-rw-r--r--windows/mpconfigport.h8
-rw-r--r--windows/mpconfigport.mk4
2 files changed, 6 insertions, 6 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h
index d6ab70b87..760596b0e 100644
--- a/windows/mpconfigport.h
+++ b/windows/mpconfigport.h
@@ -39,10 +39,10 @@
#define MICROPY_DEBUG_PRINTERS (1)
#define MICROPY_HELPER_REPL (1)
#define MICROPY_HELPER_LEXER_UNIX (1)
-#define MICROPY_ENABLE_MOD_CMATH (1)
-#define MICROPY_MOD_SYS_STDFILES (1)
-#define MICROPY_MOD_SYS_EXIT (1)
-#define MICROPY_ENABLE_FROZENSET (1)
+#define MICROPY_PY_FROZENSET (1)
+#define MICROPY_PY_CMATH (1)
+#define MICROPY_PY_SYS_STDFILES (1)
+#define MICROPY_PY_SYS_EXIT (1)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_PORT_INIT_FUNC init()
diff --git a/windows/mpconfigport.mk b/windows/mpconfigport.mk
index 458f23dd1..f1d406d57 100644
--- a/windows/mpconfigport.mk
+++ b/windows/mpconfigport.mk
@@ -7,7 +7,7 @@ MICROPY_FORCE_32BIT = 0
MICROPY_USE_READLINE = 0
# Subset of CPython time module
-MICROPY_MOD_TIME = 1
+MICROPY_PY_TIME = 1
# ffi module requires libffi (libffi-dev Debian package)
-MICROPY_MOD_FFI = 0
+MICROPY_PY_FFI = 0