Kaydet (Commit) b9e2d3f8 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #16330: Fix compilation on Windows

üst 266f882d
...@@ -191,7 +191,7 @@ static const struct dbcs_map *mapping_list; ...@@ -191,7 +191,7 @@ static const struct dbcs_map *mapping_list;
if (Py_UNICODE_IS_HIGH_SURROGATE(c)) { \ if (Py_UNICODE_IS_HIGH_SURROGATE(c)) { \
REQUIRE_INBUF(2) \ REQUIRE_INBUF(2) \
if (Py_UNICODE_IS_LOW_SURROGATE(IN2)) { \ if (Py_UNICODE_IS_LOW_SURROGATE(IN2)) { \
c = Py_UNICODE_JOIN_SURROGATES(c, IN2) \ c = Py_UNICODE_JOIN_SURROGATES(c, IN2); \
} \ } \
} }
#define GET_INSIZE(c) ((c) > 0xffff ? 2 : 1) #define GET_INSIZE(c) ((c) > 0xffff ? 2 : 1)
......
Markdown is supported
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