|
17 | 17 | * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group |
18 | 18 | * Portions Copyright (c) 1994, Regents of the University of California |
19 | 19 | * |
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 $ |
21 | 21 | */ |
22 | 22 | #ifndefPG_CRC_H |
23 | 23 | #definePG_CRC_H |
|
48 | 48 | #defineEQ_CRC32(c1,c2) ((c1) == (c2)) |
49 | 49 |
|
50 | 50 | /* Constant table for CRC calculation */ |
51 | | -externconstuint32pg_crc32_table[]; |
| 51 | +externPGDLLIMPORTconstuint32pg_crc32_table[]; |
52 | 52 |
|
53 | 53 |
|
54 | 54 | #ifdefPROVIDE_64BIT_CRC |
@@ -106,8 +106,8 @@ do { \ |
106 | 106 | #defineEQ_CRC64(c1,c2) ((c1).crc0 == (c2).crc0 && (c1).crc1 == (c2).crc1) |
107 | 107 |
|
108 | 108 | /* Constant table for CRC calculation */ |
109 | | -externconstuint32pg_crc64_table0[]; |
110 | | -externconstuint32pg_crc64_table1[]; |
| 109 | +externPGDLLIMPORTconstuint32pg_crc64_table0[]; |
| 110 | +externPGDLLIMPORTconstuint32pg_crc64_table1[]; |
111 | 111 | #else/* int64 works */ |
112 | 112 |
|
113 | 113 | typedefstructpg_crc64 |
@@ -140,7 +140,7 @@ do { \ |
140 | 140 | #defineEQ_CRC64(c1,c2) ((c1).crc0 == (c2).crc0) |
141 | 141 |
|
142 | 142 | /* Constant table for CRC calculation */ |
143 | | -externconstuint64pg_crc64_table[]; |
| 143 | +externPGDLLIMPORTconstuint64pg_crc64_table[]; |
144 | 144 | #endif/* INT64_IS_BUSTED */ |
145 | 145 | #endif/* PROVIDE_64BIT_CRC */ |
146 | 146 |
|
|