Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml Use mmap when dealing with plain files.



details:   https://anonhg.NetBSD.org/src/rev/53f0f4d77508
branches:  trunk
changeset: 777376:53f0f4d77508
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Feb 16 22:56:12 2012 +0000

description:
Use mmap when dealing with plain files.

diffstat:

 external/bsd/mdocml/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r efd886f67604 -r 53f0f4d77508 external/bsd/mdocml/Makefile.inc
--- a/external/bsd/mdocml/Makefile.inc  Thu Feb 16 22:22:27 2012 +0000
+++ b/external/bsd/mdocml/Makefile.inc  Thu Feb 16 22:56:12 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.14 2011/10/12 15:33:38 njoly Exp $
+# $NetBSD: Makefile.inc,v 1.15 2012/02/16 22:56:12 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -7,7 +7,7 @@
 CPPFLAGS+=     -DVERSION=\"${VERSION}\" -DUGLY
 
 .if (${HOSTPROG:U} == "")
-CPPFLAGS+=     -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME
+CPPFLAGS+=     -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME -DHAVE_MMAP
 .endif
 
 DISTDIR:=      ${.PARSEDIR}/dist



Home | Main Index | Thread Index | Old Index