adjustments to support gcc10

Gcc changed its default behaviour in version 10.
-fno-common is now used by default instead of -fcommon.
Therefore the usage of the extern keyword is required.
pull/148/head
seebye 3 years ago
parent 07a79980de
commit 24cb0a7be1

@ -3,5 +3,5 @@
#include "python.h"
PyTypeObject ImageType;
extern PyTypeObject ImageType;
#endif

@ -24,6 +24,6 @@ typedef struct {
Atom wm_locale_name;
Atom wm_normal_hints;
} DisplayObject;
PyTypeObject DisplayType;
extern PyTypeObject DisplayType;
#endif

@ -3,5 +3,5 @@
#include "python.h"
PyTypeObject WindowType;
extern PyTypeObject WindowType;
#endif

Loading…
Cancel
Save