summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2012-03-22 23:10:37 +0000
committerKristján Valur Jónsson <kristjan@ccpgames.com>2012-03-22 23:10:37 +0000
commitaa589b3ca7b2bf680b6d9338a0fbf831289f067f (patch)
treeee0e57ff88ed55d2ba4cbe0318d3286398c50981 /Include
parent1eb0f9de991a6a22bd4d2732849d0c7f7531d3f8 (diff)
downloadcpython-git-aa589b3ca7b2bf680b6d9338a0fbf831289f067f.tar.gz
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 9655d37bb1..3636ea6c98 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 */