]> granicus.if.org Git - python/commitdiff
Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 22 Mar 2012 23:10:37 +0000 (23:10 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 22 Mar 2012 23:10:37 +0000 (23:10 +0000)
Include/accu.h

index 9655d37bb1f73bc81586dbf960f25c170e0144ac..3636ea6c98fd6263111d457352ad9af228c5420d 100644 (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 */