Commit 946f870e authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/misc.h: Include stdint.h only once (unconditionally at the top).

parent 3a309d93
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment