summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8c8ee32301..86887cec6d 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -357,7 +357,7 @@
#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)
+#define SOFF_T(p, ofs, v) (SIVAL(p,ofs,v),SIVAL(p,(ofs)+4,0))
#endif
@@ -611,13 +611,6 @@ union semun {
#define ULTRIX_AUTH 1
#endif
-/* This is the naughty bit. Autoconf should declare these symbols if
- it finds that GNU Readline is installed. */
-
-#define HAVE_LIBREADLINE
-#define HAVE_READLINE_READLINE_H
-#define HAVE_READLINE_HISTORY_H
-
#ifdef HAVE_LIBREADLINE
# ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>