summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/realcalls.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-05 12:17:01 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-05 12:17:01 +0000
commitbfaff8ed1a3899c9aef7eaa2421d3d6467343ea1 (patch)
treeb8613065fc41cf94769d1950f30cd9756855048f /source3/smbwrapper/realcalls.h
parentf151bf0694cd41bab2ed8a4ff260ff84f714ec5c (diff)
downloadsamba-bfaff8ed1a3899c9aef7eaa2421d3d6467343ea1.tar.gz
samba-bfaff8ed1a3899c9aef7eaa2421d3d6467343ea1.tar.bz2
samba-bfaff8ed1a3899c9aef7eaa2421d3d6467343ea1.zip
got smbwrapper working on IRIX 6.4. Things got a bit tricky,
especially as the headers get the syscall numbers wrong! (This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
Diffstat (limited to 'source3/smbwrapper/realcalls.h')
-rw-r--r--source3/smbwrapper/realcalls.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/smbwrapper/realcalls.h b/source3/smbwrapper/realcalls.h
index 0c9bcd69bf..afd69b2d0c 100644
--- a/source3/smbwrapper/realcalls.h
+++ b/source3/smbwrapper/realcalls.h
@@ -19,6 +19,15 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifdef IRIX
+/* amazingly, IRIX gets its own syscall numbers wrong! */
+#ifdef SYSVoffset
+#if (SYSVoffset == 1)
+#undef SYSVoffset
+#define SYSVoffset 1000
+#endif
+#endif
+#endif
/* this file is partly derived from zlibc by Alain Knaff */