From: Kim F. Storm Date: Wed, 11 Oct 1995 14:55:17 +0000 (+0000) Subject: Check that DJGPP v. 1 is used. X-Git-Tag: emacs-19.34~2683 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=920b97abd61332a0912b0502e7bc3218ea95031e;p=emacs.git Check that DJGPP v. 1 is used. Define __DJGPP__ to 1. Simplified INTERNAL_TERMINAL termcap definition. Removed #define fflush internal_flush. --- diff --git a/src/s/msdos.h b/src/s/msdos.h index 956af45c5bf..146a87538b9 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h @@ -40,6 +40,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define MSDOS #endif +#ifdef __GO32__ +#ifndef __DJGPP__ +#define __DJGPP__ 1 /* V2 defines __DJGPP__ == 2 */ +#else +You lose; /* Emacs for DOS must be compiled with DJGPP V1 */ +#endif +#else +You lose; /* Emacs for DOS must be compiled with DJGPP */ +#endif + #define DOS_NT /* MSDOS or WINDOWSNT */ #undef BSD #undef VMS @@ -185,15 +195,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* When $TERM is "internal" then this is substituted: */ #define INTERNAL_TERMINAL "pc|bios|IBM PC with colour display:\ -:co#80:li#25:km:\ -:cm=\E@%.%.:\ -:do=^J:le=^H:up=\EU:ri=\ER:\ -:ti=\EA\027:te=\EA\007\EE:\ -:so=\EA\077:se=\EA\027:\ -:ms:mb=\EX\200:md=\EX\010:mk=\EA\161:me=\EA\027:\ -:cl=\EC:ce=\EE:\ -:vb=\EB\140:bl=\007:" -#define fflush internal_flush +:co#80:li#25:km:ms:cm=:cl=:ce=:" /* Define this to a function (Fdowncase, Fupcase) if your file system likes that */