summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-18 02:30:03 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-18 02:30:03 +0000
commitfdc07d1417274d10038da83cee2ea718e6a7abec (patch)
tree2a7b61d2ae822a821485adb2512bcb504f5ce8fa
parentbc3766c5bc55ac7744aaf8cd6871c11b8bf2cfb3 (diff)
downloadsamba-fdc07d1417274d10038da83cee2ea718e6a7abec.tar.gz
samba-fdc07d1417274d10038da83cee2ea718e6a7abec.tar.bz2
samba-fdc07d1417274d10038da83cee2ea718e6a7abec.zip
added a SMB_OFF_T_BITS define, allowing us to get rid of most of the
#ifdefs for LARGE_OFF_T. (This used to be commit 724b9508c2d15bafdad5912fce702108fdd4cac3)
-rw-r--r--source3/include/includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 69b629f07c..0f0bbdd89b 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -351,6 +351,8 @@
# endif
#endif
+#define SMB_OFF_T_BITS (sizeof(SMB_OFF_T)*8)
+
/*
* Set the define that tells us if we can do 64 bit
* NT SMB calls.