mirror of
https://github.com/python/cpython.git
synced 2025-09-22 08:23:36 +00:00
Issue #16330: Fix compilation on Windows
This commit is contained in:
parent
266f882dca
commit
b9e2d3f884
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue