From: Antoine Pitrou Date: Sat, 15 Oct 2011 14:38:20 +0000 (+0200) Subject: Fix build under Windows X-Git-Tag: v3.3.0a1~1162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e60698317dc7772983784037d966d24d1d30dc87;p=thirdparty%2FPython%2Fcpython.git Fix build under Windows --- diff --git a/Include/codecs.h b/Include/codecs.h index c503f5cf1903..0d9e9b4585db 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 }