#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
diff --git a/Include/bufferobject.h b/Include/bufferobject.h
index 639b08d..6dd8345 100644
--- a/Include/bufferobject.h
+++ b/Include/bufferobject.h
@@ -12,7 +12,7 @@
 
 PyAPI_DATA(PyTypeObject) PyBuffer_Type;
 
-#define PyBuffer_Check(op) (Py_Type(op) == &PyBuffer_Type)
+#define PyBuffer_Check(op) (Py_TYPE(op) == &PyBuffer_Type)
 
 #define Py_END_OF_BUFFER	(-1)