summaryrefslogtreecommitdiff
path: root/Include/accu.h
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
commitb81e5388b6373ee10f5e813b91d6a0c493620d57 (patch)
treec88d58e8dfbacd5f0e026b61c548622f43c26a77 /Include/accu.h
parent4a65b0a355bc4b3d08b1214135861d65a6668b0d (diff)
downloadcpython-git-b81e5388b6373ee10f5e813b91d6a0c493620d57.tar.gz
Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
Diffstat (limited to 'Include/accu.h')
-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 */