Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e606983

Browse files
committed
Fix build under Windows
1 parent 7a6debe commit e606983

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/codecs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ PyAPI_FUNC(PyObject *) PyCodec_XMLCharRefReplaceErrors(PyObject *exc);
174174
/* replace the unicode encode error with backslash escapes (\x, \u and \U) */
175175
PyAPI_FUNC(PyObject *) PyCodec_BackslashReplaceErrors(PyObject *exc);
176176

177-
extern const char *Py_hexdigits;
177+
PyAPI_DATA(const char *) Py_hexdigits;
178178

179179
#ifdef __cplusplus
180180
}

0 commit comments

Comments
 (0)