From 0668aa88179cce20362bad88c9f0be0a461bb699 Mon Sep 17 00:00:00 2001 From: Marc G. Fournier Date: Sat, 1 Aug 1998 19:30:29 +0000 Subject: Adrian Hall reported a problem to me that snprintf() doesn't exist in, at least, Solaris 2.5.1. We use it in backend/utils/adt/int8.c. Add a check to configure so that we see if it exists or not, and, if not, compile in snprintf.c from backend/port, which was taken from, and falls under the same Berkeley license as us, the FreeBSD libc/stdio ... --- src/include/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/config.h.in b/src/include/config.h.in index ea3acffc30..c849b07832 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -83,6 +83,9 @@ # define gettimeofday(a,b) gettimeofday(a) #endif +/* Set to 1 if you have snprintf() */ +#undef HAVE_SNPRINTF + /* Set to 1 if you have fp_class() */ #undef HAVE_FP_CLASS -- cgit v1.2.3