Disable support for access statement
diff --git a/Include/accessobject.h b/Include/accessobject.h
index 0ea60fc..db57457 100644
--- a/Include/accessobject.h
+++ b/Include/accessobject.h
@@ -28,6 +28,10 @@
******************************************************************/
+/* This object type is no longer supported */
+
+#ifdef SUPPORT_OBSOLETE_ACCESS
+
/* Access object interface */
/* Access mode bits (note similarity with UNIX permissions) */
@@ -60,6 +64,8 @@
extern DL_IMPORT(PyTypeObject) PyAnyNumber_Type, PyAnySequence_Type, PyAnyMapping_Type;
+#endif /* !SUPPORT_OBSOLETE_ACCESS */
+
#ifdef __cplusplus
}
#endif