all: Fix MICROPY_OBJ_REPR_D compilation with msvc.

This commit is contained in:
stijn
2022-01-11 17:25:06 +01:00
committed by Damien George
parent 5f8eef4521
commit a9448c0a86
3 changed files with 7 additions and 7 deletions

View File

@@ -139,7 +139,7 @@ typedef long mp_off_t;
#define MP_NOINLINE __declspec(noinline)
#define MP_LIKELY(x) (x)
#define MP_UNLIKELY(x) (x)
#define MICROPY_PORT_CONSTANTS { "dummy", 0 }
#define MICROPY_PORT_CONSTANTS { MP_ROM_QSTR(MP_QSTR_dummy), MP_ROM_PTR(NULL) }
#ifdef _WIN64
#define MP_SSIZE_MAX _I64_MAX
#else