diff options
| author | Marc G. Fournier | 1998-08-01 19:30:29 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1998-08-01 19:30:29 +0000 |
| commit | 0668aa88179cce20362bad88c9f0be0a461bb699 (patch) | |
| tree | f0886fe02af329b9c4f0244fd53a794938470ecf /src/include | |
| parent | 0d78e8c1124cb7f44f17dec2d313c2ac4b871195 (diff) | |
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 ...
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
