summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libg++/libio/iovfprintf.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-13 05:57:35 +0000
committerjkh <jkh@FreeBSD.org>1994-11-13 05:57:35 +0000
commitc21193cc8a2bb711bec796d1f309d49f4a8ca8cb (patch)
treeb43b7a13ac60d3aeb81d0f2ac7b8bdff55a069bd /gnu/lib/libg++/libio/iovfprintf.c
parentc8beafaf61a7e1bf16aaef28f9112c7705f4f1f1 (diff)
downloadFreeBSD-src-c21193cc8a2bb711bec796d1f309d49f4a8ca8cb.zip
FreeBSD-src-c21193cc8a2bb711bec796d1f309d49f4a8ca8cb.tar.gz
Michael Reifenberger's libg++ port
Submitted by: mr
Diffstat (limited to 'gnu/lib/libg++/libio/iovfprintf.c')
-rw-r--r--gnu/lib/libg++/libio/iovfprintf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/lib/libg++/libio/iovfprintf.c b/gnu/lib/libg++/libio/iovfprintf.c
index feda569..e3fb2da 100644
--- a/gnu/lib/libg++/libio/iovfprintf.c
+++ b/gnu/lib/libg++/libio/iovfprintf.c
@@ -196,7 +196,7 @@ _IO_vfprintf(fp, fmt0, ap)
#ifdef FLOATING_POINT
int softsign; /* temporary negative sign for floats */
double _double; /* double precision arguments %[eEfgG] */
-#ifndef USE_DTOA
+#ifndef _IO_USE_DTOA
int fpprec; /* `extra' floating precision in [eEfgG] */
#endif
#endif
@@ -256,7 +256,7 @@ _IO_vfprintf(fp, fmt0, ap)
flags = 0;
dprec = 0;
-#if defined(FLOATING_POINT) && !defined (USE_DTOA)
+#if defined(FLOATING_POINT) && !defined (_IO_USE_DTOA)
fpprec = 0;
#endif
width = 0;
@@ -362,7 +362,7 @@ reswitch: switch (ch) {
case 'g':
case 'G':
_double = va_arg(ap, double);
-#ifdef USE_DTOA
+#ifdef _IO_USE_DTOA
{
int fmt_flags = 0;
int fill = ' ';
@@ -564,7 +564,7 @@ number: if ((dprec = prec) >= 0)
/*
* compute actual size, so we know how much to pad.
*/
-#if defined(FLOATING_POINT) && !defined (USE_DTOA)
+#if defined(FLOATING_POINT) && !defined (_IO_USE_DTOA)
fieldsz = size + fpprec;
#else
fieldsz = size;
@@ -602,7 +602,7 @@ number: if ((dprec = prec) >= 0)
/* the string or number proper */
PRINT(cp, size);
-#if defined(FLOATING_POINT) && !defined (USE_DTOA)
+#if defined(FLOATING_POINT) && !defined (_IO_USE_DTOA)
/* trailing f.p. zeroes */
PAD_0(fpprec);
#endif
@@ -622,7 +622,7 @@ error:
/* NOTREACHED */
}
-#if defined(FLOATING_POINT) && !defined(USE_DTOA)
+#if defined(FLOATING_POINT) && !defined(_IO_USE_DTOA)
static char *exponent(register char *p, register int exp, int fmtch)
{
@@ -882,4 +882,4 @@ eformat: if (expcnt) {
return (t - startp);
}
-#endif /* defined(FLOATING_POINT) && !defined(USE_DTOA) */
+#endif /* defined(FLOATING_POINT) && !defined(_IO_USE_DTOA) */
OpenPOWER on IntegriCloud