]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
#ifdef out function when not used.
authorJeremy Allison <jra@samba.org>
Fri, 7 Sep 2001 20:01:19 +0000 (20:01 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 7 Sep 2001 20:01:19 +0000 (20:01 +0000)
Jeremy.
(This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)

source3/smbd/reply.c

index 26bd0b47148c09142eb4cc650e1ef647a0f99471..0d1d5eed7c66733014a5a4a469ce75bba77616a0 100644 (file)
@@ -4041,6 +4041,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 :-).
 ****************************************************************************/
@@ -4072,6 +4073,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.