Right preprocess condition in PythonAttribues for old GCC

This commit is contained in:
Jean-Paul Chaput 2022-08-14 18:14:35 +02:00
parent c0b4a73f9e
commit bdd78ce44a
1 changed files with 1 additions and 1 deletions

View File

@ -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",