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
commit614d1ded9cc730c74e7c8a9922f53a1b75822a11 (patch)
tree001dea38d0edfd2c88c59fc15c157df172bd04b2 /Include/accu.h
parentd14693a677ce8b0de6dc1f8fd0f6e3375361698b (diff)
downloadcpython-614d1ded9cc730c74e7c8a9922f53a1b75822a11.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 */