1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

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
This commit is contained in:
Andrew Bartlett 2012-09-23 14:35:58 +10:00
parent 0f69bf2cc9
commit ffb3f2a19f
2 changed files with 1 additions and 12 deletions

View File

@ -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.

View File

@ -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"