From 1a55ec5a9e71f4b6539327508110c703c0365372 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 21 Nov 2000 00:31:45 +0000 Subject: [PATCH] Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope. --- src/s/sol2-5.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h index 766b7f1c9fb..8b44a130149 100644 --- a/src/s/sol2-5.h +++ b/src/s/sol2-5.h @@ -27,6 +27,12 @@ identify any problems with gmalloc more accurately. */ /* #define SYSTEM_MALLOC */ +/* There have problems reported with mmap at least on Solaris 2.6 + and 2.7. For simplicity, let's not use mmap for anything >= 2.5. + We can optimize this later. */ + +#undef USE_MMAP_FOR_BUFFERS + #if 0 /* A recent patch in unexelf.c should eliminate the need for this. */ /* Don't use the shared libraries for -lXt and -lXaw, to work around a linker bug in Solaris 2.5. @@ -42,10 +48,4 @@ #define DYNAMIC_OPTION -Bdynamic #endif -/* There have problems reported with mmap at least on Solaris 2.6 - and 2.7. For simplicity, let's not use mmap for anything >= 2.5. - We can optimize this later. */ - -#undef USE_MMAP_FOR_BUFFERS - #endif /* 0 */ -- 2.39.2