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
Onur Tirtir 2020-04-22 16:41:34 +03:00
parent 103887024d
commit 453d363ec3
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ typedef enum CitusNodeTag
} CitusNodeTag;
const char** CitusNodeTagNames;
extern const char** CitusNodeTagNames;
typedef struct CitusNode