summaryrefslogtreecommitdiff
path: root/Cython/Utility/MemoryView_C.c
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Utility/MemoryView_C.c')
-rw-r--r--Cython/Utility/MemoryView_C.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/MemoryView_C.c b/Cython/Utility/MemoryView_C.c
index 0a5d8ee2c..8146c458d 100644
--- a/Cython/Utility/MemoryView_C.c
+++ b/Cython/Utility/MemoryView_C.c
@@ -450,7 +450,7 @@ static void __pyx_fatalerror(const char *fmt, ...) Py_NO_RETURN {
va_list vargs;
char msg[200];
-#ifdef HAVE_STDARG_PROTOTYPES
+#if PY_VERSION_HEX >= 0x030A0000 || defined(HAVE_STDARG_PROTOTYPES)
va_start(vargs, fmt);
#else
va_start(vargs);