diff --git a/Objects/typeobject.c b/Objects/typeobject.c index a498f0f64bf..5c1a8e698fc 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -1646,6 +1646,7 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base) #undef COPYNUM #undef COPYSEQ #undef COPYMAP +#undef COPYBUF #define SLOTDEFINED(SLOT) \ (base->SLOT != 0 && \