diff options
| author | Damien George | 2014-04-07 13:20:06 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-07 13:20:06 +0100 |
| commit | 6c6f9d6782bcb35018dac46900a6c836e3746e0e (patch) | |
| tree | 30893420f60f7b08e97c29fce1f74da99c35cc4c /windows/mpconfigport.h | |
| parent | 10072b72a56e0a0d5e612421a9234aee507253ec (diff) | |
windows: Make it compile with latest changes to py core.
Diffstat (limited to 'windows/mpconfigport.h')
| -rw-r--r-- | windows/mpconfigport.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 309271ba2..74fe749e1 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -13,7 +13,7 @@ #define MICROPY_ENABLE_REPL_HELPERS (1) #define MICROPY_ENABLE_LEXER_UNIX (1) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE) -#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_LONGLONG) +#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) // type definitions for the specific machine @@ -31,6 +31,5 @@ typedef unsigned int machine_uint_t; // must be pointer size typedef void *machine_ptr_t; // must be of pointer size typedef const void *machine_const_ptr_t; // must be of pointer size -typedef double machine_float_t; -machine_float_t machine_sqrt(machine_float_t x); +extern const struct _mp_obj_fun_native_t mp_builtin_open_obj; |
