summaryrefslogtreecommitdiffstats
path: root/source
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
commit724b9508c2d15bafdad5912fce702108fdd4cac3 (patch)
tree0995f512398cdae6a0d2f8e3ff4ce41d9f6bafa5 /source
parent3e77d94cd2d693490265b60ad7c576a25902d8ea (diff)
downloadsamba-724b9508c2d15bafdad5912fce702108fdd4cac3.tar.gz
samba-724b9508c2d15bafdad5912fce702108fdd4cac3.tar.xz
samba-724b9508c2d15bafdad5912fce702108fdd4cac3.zip
added a SMB_OFF_T_BITS define, allowing us to get rid of most of the
#ifdefs for LARGE_OFF_T.
Diffstat (limited to 'source')
-rw-r--r--source/include/includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 69b629f07cd..0f0bbdd89b9 100644
--- a/source/include/includes.h
+++ b/source/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.