summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-23 14:35:58 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-23 14:52:28 +1000
commitffb3f2a19f4780e45ea0b95520aeb73c20893c44 (patch)
treed16e5cb82729b60f33bd865ec6036b57e623ff18
parent0f69bf2cc9ce8ab76afefa693f3d50e458459854 (diff)
downloadsamba-ffb3f2a19f4780e45ea0b95520aeb73c20893c44.tar.gz
samba-ffb3f2a19f4780e45ea0b95520aeb73c20893c44.tar.bz2
samba-ffb3f2a19f4780e45ea0b95520aeb73c20893c44.zip
lib/replace: Remove unused nap and therefore the SCO define
In any case, the Samba Team stopped supporting SCO systems a long time ago. Andrew Bartlett
-rw-r--r--lib/replace/replace.c10
-rw-r--r--source3/configure.in3
2 files changed, 1 insertions, 12 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index 322bf49e91..ebfe04d5d3 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -214,16 +214,6 @@ int rep_initgroups(char *name, gid_t id)
#endif /* HAVE_INITGROUPS */
-#if (defined(SecureWare) && defined(SCO))
-/* This is needed due to needing the nap() function but we don't want
- to include the Xenix libraries since that will break other things...
- BTW: system call # 0x0c28 is the same as calling nap() */
-long nap(long milliseconds) {
- return syscall(0x0c28, milliseconds);
- }
-#endif
-
-
#ifndef HAVE_MEMMOVE
/*******************************************************************
safely copies memory, ensuring no overlap problems.
diff --git a/source3/configure.in b/source3/configure.in
index 440d89511a..0091efd732 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1477,8 +1477,7 @@ DSO_EXPORTS=""
test x"$LDSHFLAGS_Z_NODEFS" != x && break
done
;;
- *sco*) AC_DEFINE(SCO,1,[Whether the host os is sco unix])
- AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+ *sco*) AC_DEFINE(STAT_ST_BLOCKSIZE,512)
;;
*unixware*) AC_DEFINE(UNIXWARE,1,[Whether the host os is unixware])
BLDSHARED="true"