diff options
Diffstat (limited to 'Include/pgenheaders.h')
-rw-r--r-- | Include/pgenheaders.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pgenheaders.h b/Include/pgenheaders.h index 77acca5..2049ae3 100644 --- a/Include/pgenheaders.h +++ b/Include/pgenheaders.h @@ -10,9 +10,9 @@ extern "C" { #include "Python.h" PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) - __attribute__((format(printf, 1, 2))); + Py_GCC_ATTRIBUTE((format(printf, 1, 2))); PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) - __attribute__((format(printf, 1, 2))); + Py_GCC_ATTRIBUTE((format(printf, 1, 2))); #define addarc _Py_addarc #define addbit _Py_addbit |