mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
powerpc/mpconfigport: Remove definitions of _FMT macros.
Let the defaults in `py/mpconfig.h` be used instead. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -93,12 +93,8 @@
|
|||||||
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1))
|
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1))
|
||||||
|
|
||||||
// This port is 64-bit
|
// This port is 64-bit
|
||||||
#define UINT_FMT "%lu"
|
|
||||||
#define INT_FMT "%ld"
|
|
||||||
#define HEX_FMT "%lx"
|
|
||||||
typedef signed long mp_int_t; // must be pointer size
|
typedef signed long mp_int_t; // must be pointer size
|
||||||
typedef unsigned long mp_uint_t; // must be pointer size
|
typedef unsigned long mp_uint_t; // must be pointer size
|
||||||
|
|
||||||
typedef long mp_off_t;
|
typedef long mp_off_t;
|
||||||
|
|
||||||
// extra built in names to add to the global namespace
|
// extra built in names to add to the global namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user