summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-13 12:05:40 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-13 12:05:40 +0000
commite18a2cad693c94c2c98f00710150dcb36c55db90 (patch)
tree484baacff7ce5dfbf546b083a7b55d8a255be253 /source3
parent08685f6a62862db5c5143b0b065cf7036939bb9a (diff)
downloadsamba-e18a2cad693c94c2c98f00710150dcb36c55db90.tar.gz
samba-e18a2cad693c94c2c98f00710150dcb36c55db90.tar.bz2
samba-e18a2cad693c94c2c98f00710150dcb36c55db90.zip
defined br_off as a type for byte range offsets. For now I've set it
as SMB_OFF_T, we need to do some autoconf changes to generate a 64 bit int whenever possible (eg. long long on 32 bit i386) (This used to be commit 09dbe8bccec244c8ea0893a7d8ca4fe85d5420f7)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 4177189d6e..b618178c5f 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -491,6 +491,9 @@
# endif
#endif
+/* this should really be a 64 bit type if possible */
+#define br_off SMB_OFF_T
+
#define SMB_OFF_T_BITS (sizeof(SMB_OFF_T)*8)
/*