/*
 * SCO configuration file
 * $Id: config.sco,v 1.6 1997/08/11 08:05:10 sob Exp $
 *
 */

#ifdef _SCO_DS /* SCO OpenServer 5 */
#define HAVE_SYMLINK
#undef  F_SETOWN
#define HAVE_REGEX_H
#define HAVE_DIRENT
#undef  HAVE_FLOCK
#define HAVE_FTW
#define HAVE_GETCWD
#define HAVE_GETRLIMIT
#undef  HAVE_PSTAT
#define HAVE_STATVFS
#define HAVE_ST_BLKSIZE
#undef  HAVE_UT_UT_HOST
#define HAVE_SYSCONF
#define HAVE_VPRINTF
#define HAVE_SNPRINTF
#define NO_MALLOC_PROTO
#define REGEXEC
#define SPT_TYPE SPT_SCO
#undef  SHADOW_PASSWORD
#define SVR4
#define USG
#define _SVID3
#define USE_VAR
#define USE_ETC
#define NO_CRYPT_PROTO

#include <limits.h>
#include <malloc.h>
#include <stdlib.h>
#include <unistd.h>
#include <paths.h>
#include <sys/time.h>

#define L_SET SEEK_SET
#define L_INCR SEEK_CUR

#define crypt(k,s) bigcrypt(k,s)
#define SecureWare
#include <prot.h>

#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 256
#endif  
#ifndef MAXPATHLEN
#ifdef PATH_MAX
#define MAXPATHLEN PATH_MAX
#else
# define MAXPATHLEN 1024
#endif
#endif

#ifndef FACILITY
#define FACILITY LOG_DAEMON
#endif

typedef void    SIGNAL_TYPE;
#else
/* this is the older configuration information which is has not been */
/* verified by Stan Barber */

#define FACILITY LOG_LOCAL7

/* End of configurable parameters for SCO. Leave the below as it is. */

#undef  BSD
#define HAVE_DIRENT
#undef  HAVE_FLOCK
#undef  HAVE_FTW
#define HAVE_GETCWD
#define HAVE_GETDTABLESIZE
#undef  HAVE_PSTAT
#undef  HAVE_ST_BLKSIZE
#undef  HAVE_SYSINFO
#undef  HAVE_UT_UT_HOST
#define HAVE_VPRINTF
#define OVERWRITE
#define REGEX
#define SPT_TYPE SPT_SCO
#undef  SHADOW_PASSWORD
#define UPLOAD
#define USG

#ifdef _M_UNIX
# define HAVE_SYMLINK
#else
# undef  HAVE_SYMLINK
#endif

#undef  HAVE_D_NAMLEN
#define NO_MALLOC_PROTO




#ifdef _M_UNIX
# define _KR		/* need #define NULL 0 */
# undef __STDC__	/* ugly, but does work :-) */
#else
# define SYSLOGFILE "/usr/adm/ftpd"
# define NULL 0
#endif

#define crypt(k,s) bigcrypt(k,s)
#define d_fileno d_ino
#define ftruncate(fd,size) chsize(fd,size) /* needs -lx */
#define getpagesize() (4096)
#define vfork fork
#define fchown chown

#define _PATH_WTMP "/etc/wtmp"
#define _PATH_UTMP "/etc/utmp"

#include <stdlib.h>
#include <sys/types.h>
#include <limits.h>
#include <sys/socket.h>     /* eliminate redefinition of _IO
                               in audit.h under 3.2v2.0 */

#define SecureWare
#include <sys/security.h>
#include <sys/audit.h>
#include <prot.h>

#include <sys/fcntl.h>
#define L_SET SEEK_SET
#define L_INCR SEEK_CUR

#ifndef MAXPATHLEN
#ifdef PATH_MAX
#define MAXPATHLEN PATH_MAX
#else
# define MAXPATHLEN 1024
#endif
#endif

typedef void    SIGNAL_TYPE;

#endif
#include "../config.h"

#ifdef _SCO_DS
#define realpath realpath_on_steroids 
#endif

