From ff7c7d72cf5d201c380e8092628239e78253e39c Mon Sep 17 00:00:00 2001 From: alx Date: Sun, 17 Apr 2016 11:05:48 +0200 Subject: [PATCH] dtfile: Enable FILE_MAP_OPTIMIZE on FreeBSD. This avoids unnecessary tt_file_netfile calls on local host. --- cde/programs/dtfile/Imakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/cde/programs/dtfile/Imakefile b/cde/programs/dtfile/Imakefile index 039efe9d..51a6ad6a 100644 --- a/cde/programs/dtfile/Imakefile +++ b/cde/programs/dtfile/Imakefile @@ -39,6 +39,7 @@ EXTRA_INCLUDES = -I/usr/include/freetype2 #if defined(BSDArchitecture) EXTRA_INCLUDES = -I$(XPROJECTROOT)/include/freetype2 +EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE #endif SRCS = ChangeDir.c ChangeDirP.c Command.c Common.c \ -- 2.25.1