summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/Makefile.inc
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2011-07-06 19:53:53 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2011-07-06 19:53:53 +0000
commit58e4bb0ca88838f102fd52d15bc154914ad61482 (patch)
tree6c2b10e05726c9c3ad15ade600368d4a7ace9b86 /lib/libc/stdio/Makefile.inc
parentfe2320a5e93a9ef965f8f839c7771fb66f471c87 (diff)
Add support for C99 %ls and %lc format directives, as been documented in
the vfprintf(3) man page for ages. Based on code from NetBSD/FreeBSD. Prevent ramdisk growth with a maze of #ifdefs. ok robert, no objections deraadt, espie, millert
Diffstat (limited to 'lib/libc/stdio/Makefile.inc')
-rw-r--r--lib/libc/stdio/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/Makefile.inc b/lib/libc/stdio/Makefile.inc
index 40664679f6e..411e38b6164 100644
--- a/lib/libc/stdio/Makefile.inc
+++ b/lib/libc/stdio/Makefile.inc
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.17 2011/05/09 19:56:54 stsp Exp $
+# $OpenBSD: Makefile.inc,v 1.18 2011/07/06 19:53:52 stsp Exp $
# stdio sources
.PATH: ${LIBCSRCDIR}/stdio
-CFLAGS+=-DFLOATING_POINT
+CFLAGS+=-DFLOATING_POINT -DPRINTF_WIDE_CHAR
SRCS+= asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c fflush.c fgetc.c \
fgetln.c fgetpos.c fgets.c fileno.c findfp.c flags.c fopen.c \