mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Avoid PGDLLIMPORT for simple local references in frontend programs.
I was wondering if this would be an issue, and buildfarm member frogmouth says it is.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user