summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 27193fe..b75b5ee 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -32,7 +32,13 @@ Used in: LONG_LONG
**************************************************************************/
-#define ANY void /* For API compatibility only. Obsolete, do not use. */
+/* For backward compatibility only. Obsolete, do not use. */
+#define ANY void
+#ifdef HAVE_PROTOTYPES
+#define Py_PROTO(x) x
+#else
+#define Py_PROTO(x) ()
+#endif
/* typedefs for some C9X-defined synonyms for integral types.
*