summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2012-03-22 23:10:37 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2012-03-22 23:10:37 (GMT)
commitb81e5388b6373ee10f5e813b91d6a0c493620d57 (patch)
treec88d58e8dfbacd5f0e026b61c548622f43c26a77 /Include
parent4a65b0a355bc4b3d08b1214135861d65a6668b0d (diff)
downloadcpython-b81e5388b6373ee10f5e813b91d6a0c493620d57.zip
cpython-b81e5388b6373ee10f5e813b91d6a0c493620d57.tar.gz
cpython-b81e5388b6373ee10f5e813b91d6a0c493620d57.tar.bz2
Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
Diffstat (limited to 'Include')
-rw-r--r--Include/accu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/accu.h b/Include/accu.h
index 9655d37..3636ea6 100644
--- a/Include/accu.h
+++ b/Include/accu.h
@@ -16,6 +16,8 @@
extern "C" {
#endif
+#undef small /* defined by some Windows headers */
+
typedef struct {
PyObject *large; /* A list of previously accumulated large strings */
PyObject *small; /* Pending small strings */