From: Tom Lane Date: Mon, 21 Apr 2008 02:04:09 +0000 (+0000) Subject: Add FLOAT4PASSBYVAL/FLOAT8PASSBYVAL to pg_config.h.win32, as a stopgap X-Git-Tag: REL9_0_0~3663 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=819b49a6e1f727d6c00e7fd2d41711afe752c70a;p=pg-rex%2Fsyncrep.git Add FLOAT4PASSBYVAL/FLOAT8PASSBYVAL to pg_config.h.win32, as a stopgap measure to get the Windows buildfarm members working again. I don't know if it's worth exposing these as configurables, or exactly how to do it in the MSVC build system ... --- diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 1c7e3cd2d0..8501f53d98 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -53,6 +53,13 @@ (--enable-thread-safety) */ #define ENABLE_THREAD_SAFETY 1 +/* float4 values are passed by value if 'true', by reference if 'false' */ +#define FLOAT4PASSBYVAL true + +/* float8, int8, and related values are passed by value if 'true', by + reference if 'false' */ +#define FLOAT8PASSBYVAL false + /* Define to 1 if getpwuid_r() takes a 5th argument. */ /* #undef GETPWUID_R_5ARG */ @@ -616,6 +623,14 @@ /* Define to 1 to build with Bonjour support. (--with-bonjour) */ /* #undef USE_BONJOUR */ +/* Define to 1 if you want float4 values to be passed by value. + (--enable-float4-byval) */ +#define USE_FLOAT4_BYVAL 1 + +/* Define to 1 if you want float8, int8, etc values to be passed by value. + (--enable-float8-byval) */ +/* #undef USE_FLOAT8_BYVAL */ + /* Define to 1 if you want 64-bit integer timestamp and interval support. (--enable-integer-datetimes) */ /* #undef USE_INTEGER_DATETIMES */