summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-17 18:58:46 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-17 18:58:46 +0100
commitd89b69eb3a8c53e0026e9dfffb1fa5d8da5569f7 (patch)
treeb33203dec0dba5294f3ee754e7c495c999978631 /unix/mpconfigport.h
parentd0f9f6cd3f4b541dd4324dd73371638185178cdb (diff)
parente1e4249a674397ab837a31b8b4821f64e655c74e (diff)
downloadmicropython-d89b69eb3a8c53e0026e9dfffb1fa5d8da5569f7.tar.gz
micropython-d89b69eb3a8c53e0026e9dfffb1fa5d8da5569f7.zip
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index cf6e6fae26..21d11ebeaf 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -17,6 +17,12 @@
#define MICROPY_MOD_SYS_STDFILES (1)
#define MICROPY_ENABLE_MOD_CMATH (1)
+extern const struct _mp_obj_module_t mp_module_time;
+extern const struct _mp_obj_module_t mp_module_socket;
+#define MICROPY_EXTRA_BUILTIN_MODULES \
+ { MP_OBJ_NEW_QSTR(MP_QSTR_time), (mp_obj_t)&mp_module_time }, \
+ { MP_OBJ_NEW_QSTR(MP_QSTR_microsocket), (mp_obj_t)&mp_module_socket }, \
+
// type definitions for the specific machine
#ifdef __LP64__