diff --git a/src/include/common/keywords.h b/src/include/common/keywords.h index 577100d1b95..97c830521c9 100644 --- a/src/include/common/keywords.h +++ b/src/include/common/keywords.h @@ -28,8 +28,13 @@ typedef struct ScanKeyword int16 category; /* see codes above */ } ScanKeyword; +#ifndef FRONTEND extern PGDLLIMPORT const ScanKeyword ScanKeywords[]; extern PGDLLIMPORT const int NumScanKeywords; +#else +extern const ScanKeyword ScanKeywords[]; +extern const int NumScanKeywords; +#endif extern const ScanKeyword *ScanKeywordLookup(const char *text,