[Python-checkins] cpython (3.2): Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
georg.brandl
python-checkins at python.org
Wed Apr 11 12:46:23 CEST 2012
http://hg.python.org/cpython/rev/f91ecbc8bafc
changeset: 76233:f91ecbc8bafc
branch: 3.2
parent: 75820:b5e52995f76a
user: Kristján Valur Jónsson <kristjan at ccpgames.com>
date: Thu Mar 22 23:10:37 2012 +0000
summary:
Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
files:
Include/accu.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Include/accu.h b/Include/accu.h
--- 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 */
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list