Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2d1eea

Browse files
committed
Avoid PGDLLIMPORT for simple local references in frontend programs.
I was wondering if this would be an issue, and buildfarm member frogmouthsays it is.
1 parent473b932 commitc2d1eea

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
int16category;/* see codes above */
2929
}ScanKeyword;
3030

31+
#ifndefFRONTEND
3132
externPGDLLIMPORTconstScanKeywordScanKeywords[];
3233
externPGDLLIMPORTconstintNumScanKeywords;
34+
#else
35+
externconstScanKeywordScanKeywords[];
36+
externconstintNumScanKeywords;
37+
#endif
3338

3439

3540
externconstScanKeyword*ScanKeywordLookup(constchar*text,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp