summaryrefslogtreecommitdiff
path: root/Include/codecs.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-15 16:38:20 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-15 16:38:20 +0200
commite60698317dc7772983784037d966d24d1d30dc87 (patch)
treef467acf867ca089d40b187e03909ff0b05d0971d /Include/codecs.h
parent7a6debe79c1aabe7686b60e19ad77055b874c2f4 (diff)
downloadcpython-git-e60698317dc7772983784037d966d24d1d30dc87.tar.gz
Fix build under Windows
Diffstat (limited to 'Include/codecs.h')
-rw-r--r--Include/codecs.h2
1 files changed, 1 insertions, 1 deletions
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
}