mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py/misc.h: Include stdint.h only once (unconditionally at the top).
This commit is contained in:
@@ -107,7 +107,6 @@ size_t m_get_peak_bytes_allocated(void);
|
||||
/** unichar / UTF-8 *********************************************/
|
||||
|
||||
#if MICROPY_PY_BUILTINS_STR_UNICODE
|
||||
#include <stdint.h> // only include if we need it
|
||||
// with unicode enabled we need a type which can fit chars up to 0x10ffff
|
||||
typedef uint32_t unichar;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user