Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.

This commit is contained in:
Kristján Valur Jónsson 2012-03-22 23:10:37 +00:00
parent 4a65b0a355
commit b81e5388b6

View file

@ -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 */