The attached patch enables contrib/cube to build cleanly under Cygwin
authorBruce Momjian <bruce@momjian.us>
Tue, 2 Dec 2003 12:40:08 +0000 (12:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 2 Dec 2003 12:40:08 +0000 (12:40 +0000)
(again).  Please consider this patch for the 7.4.1 branch (if there
will be one) too.

Jason Tishler

src/include/utils/builtins.h

index 3f4aa388f068183f931403f1630ebcb41fba6f09..8c704e41ac3e02e768e02ae351c6dbda47186888 100644 (file)
@@ -231,7 +231,7 @@ extern Datum btname_pattern_cmp(PG_FUNCTION_ARGS);
 extern Datum bttext_pattern_cmp(PG_FUNCTION_ARGS);
 
 /* float.c */
-extern int     extra_float_digits;
+extern DLLIMPORT int   extra_float_digits;
 
 extern Datum float4in(PG_FUNCTION_ARGS);
 extern Datum float4out(PG_FUNCTION_ARGS);