Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment