/* Copyright (c) 1992, 1995 John E. Davis * All rights reserved. * * You may distribute under the terms of either the GNU General Public * License or the Perl Artistic License. */ /* This is for everything but unix */ #ifdef VMS # ifdef __DECC # define HAVE_STDLIB_H # endif #endif #if defined(__WATCOMC__) && defined(__DOS__) # define DOS386 #endif /* Set of the various defines for pc systems. This includes OS/2 */ /* DJGPP has a split personality. It tries implement a unix like environment * under MSDOS. Unfortunately, the personalities clash. */ #ifdef __GO32__ # ifdef REAL_UNIX_SYSTEM # undef REAL_UNIX_SYSTEM # endif # ifndef __DJGPP__ # define __DJGPP__ 1 # endif #endif #if defined(__MSDOS__) || defined(__DOS__) # ifndef __MSDOS__ # define __MSDOS__ # endif # ifndef IBMPC_SYSTEM # define IBMPC_SYSTEM # endif #endif #if defined(OS2) || defined(__OS2__) # ifndef IBMPC_SYSTEM # define IBMPC_SYSTEM # endif # ifndef __os2__ # define __os2__ # endif #endif #if defined(WIN32) || defined(__WIN32__) # ifndef IBMPC_SYSTEM # define IBMPC_SYSTEM # endif # ifndef __WIN32__ # define __WIN32__ # endif #endif #if defined(__MSDOS__) && !defined(__GO32__) && !defined(DOS386) && !defined(__WIN32__) # ifndef __MSDOS_16BIT__ # define __MSDOS_16BIT__ 1 # endif #endif #ifdef IBMPC_SYSTEM # define HAVE_STDLIB_H # define HAVE_PUTENV # ifdef __GO32__ # define HAVE_UNISTD_H # endif #endif #if !defined(VMS) && !defined(__WATCOMC__) # define HAVE_MEMORY_H #endif #define HAVE_MEMCPY #define HAVE_MEMSET #ifndef VMS # define HAVE_MEMCMP # define HAVE_MEMCHR #endif #define HAVE_GETCWD 1 #ifndef VMS # define HAVE_VFSCANF 1 #endif #ifdef __unix__ # define HAVE_KILL 1 # define HAVE_CHOWN 1 #endif #if !defined(__unix__) && !defined(__DECC) # define mode_t int # define pid_t int # define uid_t int # define gid_t int #endif #define _SLANG_SOURCE_ 1