summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 86887cec6d..3f99574c64 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -353,14 +353,6 @@
#define SMB_OFF_T_BITS (sizeof(SMB_OFF_T)*8)
-
-#ifdef LARGE_SMB_OFF_T
-#define SOFF_T(p, ofs, v) (SIVAL(p,ofs,(v)&0xFFFFFFFF), SIVAL(p,(ofs)+4,(v)>>32))
-#else
-#define SOFF_T(p, ofs, v) (SIVAL(p,ofs,v),SIVAL(p,(ofs)+4,0))
-#endif
-
-
/*
* Set the define that tells us if we can do 64 bit
* NT SMB calls.
@@ -372,6 +364,12 @@
# endif
#endif
+#ifdef LARGE_SMB_OFF_T
+#define SOFF_T(p, ofs, v) (SIVAL(p,ofs,(v)&0xFFFFFFFF), SIVAL(p,(ofs)+4,(v)>>32))
+#else
+#define SOFF_T(p, ofs, v) (SIVAL(p,ofs,v),SIVAL(p,(ofs)+4,0))
+#endif
+
/*
* Type for stat structure.
*/