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)
commitaa589b3ca7b2bf680b6d9338a0fbf831289f067f (patch)
treeee0e57ff88ed55d2ba4cbe0318d3286398c50981 /Include
parent1eb0f9de991a6a22bd4d2732849d0c7f7531d3f8 (diff)
downloadcpython-aa589b3ca7b2bf680b6d9338a0fbf831289f067f.zip
cpython-aa589b3ca7b2bf680b6d9338a0fbf831289f067f.tar.gz
cpython-aa589b3ca7b2bf680b6d9338a0fbf831289f067f.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 */