Skip to content

Commit 819b49a

Browse files
committed
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 ...
1 parent 3d1588c commit 819b49a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/include/pg_config.h.win32

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@
5353
(--enable-thread-safety) */
5454
#define ENABLE_THREAD_SAFETY 1
5555

56+
/* float4 values are passed by value if 'true', by reference if 'false' */
57+
#define FLOAT4PASSBYVAL true
58+
59+
/* float8, int8, and related values are passed by value if 'true', by
60+
reference if 'false' */
61+
#define FLOAT8PASSBYVAL false
62+
5663
/* Define to 1 if getpwuid_r() takes a 5th argument. */
5764
/* #undef GETPWUID_R_5ARG */
5865

@@ -616,6 +623,14 @@
616623
/* Define to 1 to build with Bonjour support. (--with-bonjour) */
617624
/* #undef USE_BONJOUR */
618625

626+
/* Define to 1 if you want float4 values to be passed by value.
627+
(--enable-float4-byval) */
628+
#define USE_FLOAT4_BYVAL 1
629+
630+
/* Define to 1 if you want float8, int8, etc values to be passed by value.
631+
(--enable-float8-byval) */
632+
/* #undef USE_FLOAT8_BYVAL */
633+
619634
/* Define to 1 if you want 64-bit integer timestamp and interval support.
620635
(--enable-integer-datetimes) */
621636
/* #undef USE_INTEGER_DATETIMES */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy