Skip to content

Commit c2d1eea

Browse files
committed
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.
1 parent 473b932 commit c2d1eea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/include/common/keywords.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@ typedef struct ScanKeyword
2828
int16 category; /* see codes above */
2929
} ScanKeyword;
3030

31+
#ifndef FRONTEND
3132
extern PGDLLIMPORT const ScanKeyword ScanKeywords[];
3233
extern PGDLLIMPORT const int NumScanKeywords;
34+
#else
35+
extern const ScanKeyword ScanKeywords[];
36+
extern const int NumScanKeywords;
37+
#endif
3338

3439

3540
extern const ScanKeyword *ScanKeywordLookup(const char *text,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy