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

Commit69a0e2f

Browse files
committed
PGDLLIMPORT-ize the global variables referenced in pg_crc.h.
I think this will fix current mingw buildfarm failures for pg_trgm.
1 parent53f93cb commit69a0e2f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/include/utils/pg_crc.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
1818
* Portions Copyright (c) 1994, Regents of the University of California
1919
*
20-
* $PostgreSQL: pgsql/src/include/utils/pg_crc.h,v 1.18 2008/11/12 21:53:46 alvherre Exp $
20+
* $PostgreSQL: pgsql/src/include/utils/pg_crc.h,v 1.19 2008/11/13 14:42:28 tgl Exp $
2121
*/
2222
#ifndefPG_CRC_H
2323
#definePG_CRC_H
@@ -48,7 +48,7 @@ do { \
4848
#defineEQ_CRC32(c1,c2) ((c1) == (c2))
4949

5050
/* Constant table for CRC calculation */
51-
externconstuint32pg_crc32_table[];
51+
externPGDLLIMPORTconstuint32pg_crc32_table[];
5252

5353

5454
#ifdefPROVIDE_64BIT_CRC
@@ -106,8 +106,8 @@ do { \
106106
#defineEQ_CRC64(c1,c2) ((c1).crc0 == (c2).crc0 && (c1).crc1 == (c2).crc1)
107107

108108
/* Constant table for CRC calculation */
109-
externconstuint32pg_crc64_table0[];
110-
externconstuint32pg_crc64_table1[];
109+
externPGDLLIMPORTconstuint32pg_crc64_table0[];
110+
externPGDLLIMPORTconstuint32pg_crc64_table1[];
111111
#else/* int64 works */
112112

113113
typedefstructpg_crc64
@@ -140,7 +140,7 @@ do { \
140140
#defineEQ_CRC64(c1,c2) ((c1).crc0 == (c2).crc0)
141141

142142
/* Constant table for CRC calculation */
143-
externconstuint64pg_crc64_table[];
143+
externPGDLLIMPORTconstuint64pg_crc64_table[];
144144
#endif/* INT64_IS_BUSTED */
145145
#endif/* PROVIDE_64BIT_CRC */
146146

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp