From: Antoine Pitrou Date: Sat, 15 Oct 2011 14:38:20 +0000 (+0200) Subject: Fix build under Windows X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e60698317dc7772983784037d966d24d1d30dc87;p=python Fix build under Windows --- diff --git a/Include/codecs.h b/Include/codecs.h index c503f5cf19..0d9e9b4585 100644 --- a/Include/codecs.h +++ b/Include/codecs.h @@ -174,7 +174,7 @@ PyAPI_FUNC(PyObject *) PyCodec_XMLCharRefReplaceErrors(PyObject *exc); /* replace the unicode encode error with backslash escapes (\x, \u and \U) */ PyAPI_FUNC(PyObject *) PyCodec_BackslashReplaceErrors(PyObject *exc); -extern const char *Py_hexdigits; +PyAPI_DATA(const char *) Py_hexdigits; #ifdef __cplusplus }