diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-17 18:58:46 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-17 18:58:46 +0100 |
commit | d89b69eb3a8c53e0026e9dfffb1fa5d8da5569f7 (patch) | |
tree | b33203dec0dba5294f3ee754e7c495c999978631 /unix/mpconfigport.h | |
parent | d0f9f6cd3f4b541dd4324dd73371638185178cdb (diff) | |
parent | e1e4249a674397ab837a31b8b4821f64e655c74e (diff) | |
download | micropython-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.h | 6 |
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__ |