Commit c2d1eea9 authored by Tom Lane's avatar Tom Lane

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.
parent 473b9328
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment