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/3929/head
parent
103887024d
commit
453d363ec3
|
@ -70,7 +70,7 @@ typedef enum CitusNodeTag
|
||||||
} CitusNodeTag;
|
} CitusNodeTag;
|
||||||
|
|
||||||
|
|
||||||
const char** CitusNodeTagNames;
|
extern const char** CitusNodeTagNames;
|
||||||
|
|
||||||
|
|
||||||
typedef struct CitusNode
|
typedef struct CitusNode
|
||||||
|
|
Loading…
Reference in New Issue