From bdd78ce44ac22cd8ee1fd71082be14b83cb9db19 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sun, 14 Aug 2022 18:14:35 +0200 Subject: [PATCH] Right preprocess condition in PythonAttribues for old GCC --- hurricane/src/isobar/PythonAttributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurricane/src/isobar/PythonAttributes.cpp b/hurricane/src/isobar/PythonAttributes.cpp index e7446c15..f779372b 100644 --- a/hurricane/src/isobar/PythonAttributes.cpp +++ b/hurricane/src/isobar/PythonAttributes.cpp @@ -70,7 +70,7 @@ namespace Isobar { }; -#if __GNUC__ && (__GNUC__ > 8) +#if defined(__GNUC__) && (__GNUC__ > 8) PyTypeObject PyTypeAttributesHolder = { PyVarObject_HEAD_INIT(NULL,0) .tp_name = "Hurricane.AttributesHolder",