From 1359195c505df8af49b31460ec21e4e007f462c2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 14 Jan 2000 08:33:20 +0000 Subject: casts and defines to make solaris happy (This used to be commit 77cf152c02b445f4b6e9de393936dd6e54e6f442) --- source3/tdb/tdb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/tdb') diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index 9a598b9980..c5522bbf4b 100644 --- a/source3/tdb/tdb.c +++ b/source3/tdb/tdb.c @@ -54,6 +54,10 @@ #define BUCKET(hash) ((hash) % tdb->header.hash_size) +#ifndef MAP_FILE +#define MAP_FILE 0 +#endif + /* the body of the database is made of one list_struct for the free space plus a separate data list for each hash value */ struct list_struct { -- cgit