From e60698317dc7772983784037d966d24d1d30dc87 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 15 Oct 2011 16:38:20 +0200 Subject: Fix build under Windows --- Include/codecs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/codecs.h b/Include/codecs.h index c503f5c..0d9e9b4 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 } -- cgit v0.12