diff options
author | phk <phk@FreeBSD.org> | 2006-04-01 19:06:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-04-01 19:06:54 +0000 |
commit | a6edaf1c5c5a75d8ff61e82e0a7a94d9066aa556 (patch) | |
tree | 414dd43b4bfb97d3d754134156d9b721f643e6f5 /lib/libc/stdio/xprintf.c | |
parent | 01ed5990aef062b97e91680895804b9689c8076b (diff) | |
download | FreeBSD-src-a6edaf1c5c5a75d8ff61e82e0a7a94d9066aa556.zip FreeBSD-src-a6edaf1c5c5a75d8ff61e82e0a7a94d9066aa556.tar.gz |
Add missing #if's for NO_FLOATING_POINT
Diffstat (limited to 'lib/libc/stdio/xprintf.c')
-rw-r--r-- | lib/libc/stdio/xprintf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/xprintf.c b/lib/libc/stdio/xprintf.c index c7814fa..8d529fc 100644 --- a/lib/libc/stdio/xprintf.c +++ b/lib/libc/stdio/xprintf.c @@ -496,10 +496,14 @@ __v2printf(FILE *fp, const char *fmt0, unsigned pct, const va_list ap) args[ch].pwchararg = va_arg (ap, wchar_t *); break; case PA_DOUBLE: +#ifndef NO_FLOATING_POINT args[ch].doublearg = va_arg (ap, double); +#endif break; case PA_DOUBLE | PA_FLAG_LONG_DOUBLE: +#ifndef NO_FLOATING_POINT args[ch].longdoublearg = va_arg (ap, long double); +#endif break; default: errx(1, "argtype = %x (fmt = \"%s\")\n", |