1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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.
This commit is contained in:
Bruce Momjian
2005-03-11 17:20:35 +00:00
parent 6521cd9ae1
commit 3bc6bdf322
7 changed files with 56 additions and 27 deletions

5
configure vendored
View File

@ -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