summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-03-11 17:20:35 +0000
committerBruce Momjian <bruce@momjian.us>2005-03-11 17:20:35 +0000
commit3bc6bdf322ea625c23b15caa97daba6f43cfcc7f (patch)
tree15dc309bd1cf3e35f0282e687da02548f68ad323 /configure
parent6521cd9ae104bb4552d2a43e1f79152014c4d156 (diff)
downloadpostgresql-3bc6bdf322ea625c23b15caa97daba6f43cfcc7f.tar.gz
Define snprintf() to call pg_snprintf() so our own snprintf-like
implementation doesn't export out via libpq and get used by a user application.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index a53bc24706..22a2ca9a62 100755
--- a/configure
+++ b/configure
@@ -14973,6 +14973,11 @@ _ACEOF
# Now we have checked all the reasons to replace snprintf
if test $pgac_need_repl_snprintf = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define USE_SNPRINTF 1
+_ACEOF
+
LIBOBJS="$LIBOBJS snprintf.$ac_objext"
fi