[Python-checkins] cpython: Fix build under Windows
antoine.pitrou
python-checkins at python.org
Sat Oct 15 16:42:11 CEST 2011
http://hg.python.org/cpython/rev/c63087ac1f6c
changeset: 72941:c63087ac1f6c
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Oct 15 16:38:20 2011 +0200
summary:
Fix build under Windows
files:
Include/codecs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Include/codecs.h b/Include/codecs.h
--- a/Include/codecs.h
+++ b/Include/codecs.h
@@ -174,7 +174,7 @@
/* 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
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list