summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-30 22:21:31 +0000
committerJeremy Allison <jra@samba.org>2001-07-30 22:21:31 +0000
commit996719cce26700c68ff0e456e6a25d20085d091f (patch)
tree38e4e80d4fb2cd14d7d311b7ba1bc69be643b2c5 /source3/include
parentd17d9bee6f3d23f31f6b408e7b80630d4602c9c2 (diff)
downloadsamba-996719cce26700c68ff0e456e6a25d20085d091f.tar.gz
samba-996719cce26700c68ff0e456e6a25d20085d091f.tar.bz2
samba-996719cce26700c68ff0e456e6a25d20085d091f.zip
Added "use mmap" for HPUX.
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb_macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index b168d68862..e1deaf58ea 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -258,4 +258,5 @@ copy an IP address from one buffer to another
#define vfs_chdir(conn,fname) ((conn)->vfs_ops.chdir((conn),fname))
+#define USE_TDB_MMAP_FLAG (!lp_use_mmap() ? TDB_NOMMAP : TDB_DEFAULT)
#endif /* _SMB_MACROS_H */