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.
pull/3784/head^2
Onur Tirtir 2020-04-22 16:41:34 +03:00 committed by GitHub
parent 2e927bd6b7
commit b8dd8f50d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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