summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-snprintf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-25 23:20:40 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-25 23:20:40 +0000
commit63941f9631b8316d57d54e0ef7484c66bb1c1b7d (patch)
tree6a0dc4cf3d580552e75731cb617f2b88d5a05840 /openbsd-compat/bsd-snprintf.c
parent416d87409493f6d2367db40a04c19c950f271613 (diff)
- (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again.
Diffstat (limited to 'openbsd-compat/bsd-snprintf.c')
-rw-r--r--openbsd-compat/bsd-snprintf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c
index d02e5ae5..1c72ea61 100644
--- a/openbsd-compat/bsd-snprintf.c
+++ b/openbsd-compat/bsd-snprintf.c
@@ -51,7 +51,12 @@
#include "includes.h"
-RCSID("$Id: bsd-snprintf.c,v 1.4 2001/02/13 14:05:59 mouring Exp $");
+RCSID("$Id: bsd-snprintf.c,v 1.5 2001/02/25 23:20:41 mouring Exp $");
+
+#if defined(BROKEN_SNPRINTF) /* For those with broken snprintf() */
+# undef HAVE_SNPRINTF
+# undef HAVE_VSNPRINTF
+#endif
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)