summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-09-07 20:01:14 +0000
committerJeremy Allison <jra@samba.org>2001-09-07 20:01:14 +0000
commitca0406105550cd527ad6bb67e73efe3f42383ec6 (patch)
tree279d8166461afa5c1aede3a8d347fc5273db3651 /source/smbd/reply.c
parentf278167d28cc5caab6b04b27f555d41f151b7b4f (diff)
downloadsamba-ca0406105550cd527ad6bb67e73efe3f42383ec6.tar.gz
samba-ca0406105550cd527ad6bb67e73efe3f42383ec6.tar.xz
samba-ca0406105550cd527ad6bb67e73efe3f42383ec6.zip
#ifdef out function when not used.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 7d27e4707c8..be66fbc5016 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -4271,6 +4271,7 @@ SMB_BIG_UINT get_lock_count( char *data, int data_offset, BOOL large_file_format
return count;
}
+#if !defined(HAVE_LONGLONG)
/****************************************************************************
Pathetically try and map a 64 bit lock offset into 31 bits. I hate Windows :-).
****************************************************************************/
@@ -4302,6 +4303,7 @@ static uint32 map_lock_offset(uint32 high, uint32 low)
return (high|low);
}
+#endif /* !defined(HAVE_LONGLONG) */
/****************************************************************************
Get a lock offset, dealing with large offset requests.