#ifndef _JED_CONFIG_H_ #define _JED_CONFIG_H_ /* 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) # ifndef IBMPC_SYSTEM # define IBMPC_SYSTEM # endif # ifndef __os2__ # define __os2__ # endif #endif #if defined(WIN32) & !defined(__WIN32__) # define __WIN32__ 1 #endif #if defined(__MSDOS__) && !defined(__GO32__) && !defined(DOS386) && !defined(__WIN32__) # ifndef __MSDOS_16BIT__ # define __MSDOS_16BIT__ 1 # endif # if defined(__BORLANDC__) && !defined(IBMPC_USE_ASM) # define IBMPC_USE_ASM # endif #endif #if defined(__os2_16__) || defined(__MSDOS_16BIT__) # define Sixteen_Bit_System #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_GETCWD #if defined(_MSC_VER) || defined(__EMX__) || defined(__WATCOMC__) # define strcmpi stricmp # define strncmpi strnicmp #endif #define HAVE_MEMCPY #define HAVE_MEMSET #ifndef VMS # define HAVE_MEMCMP # define HAVE_MEMCHR #endif #if !defined(__WATCOMC__) || defined(OS2) # define HAS_MOUSE 1 #endif /* Define this if compiler has limits.h */ #define HAVE_LIMITS_H #endif /* _JED_CONFIG_H_ */