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 1eb0f9de99
commit aa589b3ca7
1 changed files with 2 additions and 0 deletions

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