summaryrefslogtreecommitdiffstats
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
commit09dbe8bccec244c8ea0893a7d8ca4fe85d5420f7 (patch)
tree4a16b9cc8d7234438aae5b0a4d1a59df32d34719
parent67b7b2a5a68fd22222bd54771c779f752ff59917 (diff)
downloadsamba-09dbe8bccec244c8ea0893a7d8ca4fe85d5420f7.tar.gz
samba-09dbe8bccec244c8ea0893a7d8ca4fe85d5420f7.tar.xz
samba-09dbe8bccec244c8ea0893a7d8ca4fe85d5420f7.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)
-rw-r--r--source/include/includes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 4177189d6e9..b618178c5f2 100644
--- a/source/include/includes.h
+++ b/source/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)
/*