]> granicus.if.org Git - python/commitdiff
Fix build under Windows
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 15 Oct 2011 14:38:20 +0000 (16:38 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 15 Oct 2011 14:38:20 +0000 (16:38 +0200)
Include/codecs.h

index c503f5cf1903746de3fc3bc8800ccec37132860c..0d9e9b4585dbad4b22930e0c4fd40b5d8a72f2b4 100644 (file)
@@ -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
 }