windows: Provide a definition for MP_ALWAYSINLINE.
This commit is contained in:
parent
5e20dcf925
commit
c4adeb2e08
|
@ -135,6 +135,7 @@ typedef long mp_off_t;
|
|||
#define MP_ENDIANNESS_LITTLE (1)
|
||||
#define NORETURN __declspec(noreturn)
|
||||
#define MP_NOINLINE __declspec(noinline)
|
||||
#define MP_ALWAYSINLINE __forceinline
|
||||
#define MP_LIKELY(x) (x)
|
||||
#define MP_UNLIKELY(x) (x)
|
||||
#define MICROPY_PORT_CONSTANTS { MP_ROM_QSTR(MP_QSTR_dummy), MP_ROM_PTR(NULL) }
|
||||
|
|
|
@ -256,6 +256,7 @@ typedef long mp_off_t;
|
|||
#define NORETURN __declspec(noreturn)
|
||||
#define MP_WEAK
|
||||
#define MP_NOINLINE __declspec(noinline)
|
||||
#define MP_ALWAYSINLINE __forceinline
|
||||
#define MP_LIKELY(x) (x)
|
||||
#define MP_UNLIKELY(x) (x)
|
||||
#define MICROPY_PORT_CONSTANTS { MP_ROM_QSTR(MP_QSTR_dummy), MP_ROM_PTR(NULL) } // can't have zero-sized array
|
||||
|
|
Loading…
Reference in New Issue