summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-04 12:44:35 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-04 12:44:35 (GMT)
commit310638ea812429125c122d60f779f4eb60f86c69 (patch)
tree86377d4a45e4c345116da8099ccb17db570aa385 /Include
parent061fe342622f94a199f43976d98a66373c6cdd1e (diff)
parent36225c6a9925b962e5035a1ceae4025fb5b80f08 (diff)
downloadcpython-310638ea812429125c122d60f779f4eb60f86c69.zip
cpython-310638ea812429125c122d60f779f4eb60f86c69.tar.gz
cpython-310638ea812429125c122d60f779f4eb60f86c69.tar.bz2
Try to fix linking failures under Windows
Diffstat (limited to 'Include')
-rw-r--r--Include/pyctype.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/pyctype.h b/Include/pyctype.h
index 787c1b9..6bce63e 100644
--- a/Include/pyctype.h
+++ b/Include/pyctype.h
@@ -10,7 +10,7 @@
#define PY_CTF_SPACE 0x08
#define PY_CTF_XDIGIT 0x10
-extern const unsigned int _Py_ctype_table[256];
+PyAPI_DATA(const unsigned int) _Py_ctype_table[256];
/* Unlike their C counterparts, the following macros are not meant to
* handle an int with any of the values [EOF, 0-UCHAR_MAX]. The argument
@@ -23,8 +23,8 @@ extern const unsigned int _Py_ctype_table[256];
#define Py_ISALNUM(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
#define Py_ISSPACE(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
-extern const unsigned char _Py_ctype_tolower[256];
-extern const unsigned char _Py_ctype_toupper[256];
+PyAPI_DATA(const unsigned char) _Py_ctype_tolower[256];
+PyAPI_DATA(const unsigned char) _Py_ctype_toupper[256];
#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])