mirror of https://github.com/citusdata/citus.git
Fix build issue in GCC 10 (#3790)
As reported in #3787, we were having issues while building citus with "GCC Red Hat 10" (maybe in some other versions of gcc as well).
Fixes "multiple definition of 'CitusNodeTagNames'" error by explicitly specifying storage of CitusNodeTagNames to be extern.
(cherry picked from commit b8dd8f50d1
)
pull/3807/head
parent
64f9ba2746
commit
80da0ed69a
|
@ -70,7 +70,7 @@ typedef enum CitusNodeTag
|
|||
} CitusNodeTag;
|
||||
|
||||
|
||||
const char** CitusNodeTagNames;
|
||||
extern const char** CitusNodeTagNames;
|
||||
|
||||
|
||||
typedef struct CitusNode
|
||||
|
|
Loading…
Reference in New Issue