From f27827d7937375b5348107ca7427abf74c9eff3d Mon Sep 17 00:00:00 2001 From: michi Date: Tue, 14 Apr 2020 16:53:02 +0200 Subject: Unbreak GCC 10 (-fno-common) build --- src/portab/portab.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/portab/portab.h') diff --git a/src/portab/portab.h b/src/portab/portab.h index 70d5ed3e..43f2f907 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -102,7 +102,11 @@ typedef unsigned char bool; #endif #undef GLOBAL +#ifdef GLOBAL_INIT #define GLOBAL +#else +#define GLOBAL extern +#endif /* SPLint */ -- cgit 1.4.1