diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-27 13:53:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-31 17:04:04 +0900 |
commit | f386da73ff591f119184b585085e13c7624fc9f7 (patch) | |
tree | febc31417e404f386883ee98118058d872693eb2 | |
parent | 0f72e47ca15d69c8349d3457895b7dd8df6f218c (diff) | |
download | arts-r14.1.x.tar.gz arts-r14.1.x.zip |
Drop Borland compiler specific coder14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4da609c95cb20a05e9af25840ddf7560ebb900d8)
-rw-r--r-- | mcopidl/scanner.cpp | 9 | ||||
-rw-r--r-- | mcopidl/yacc.cpp | 8 |
2 files changed, 4 insertions, 13 deletions
diff --git a/mcopidl/scanner.cpp b/mcopidl/scanner.cpp index f987efa..7fc3b67 100644 --- a/mcopidl/scanner.cpp +++ b/mcopidl/scanner.cpp @@ -40,15 +40,6 @@ #endif /* __STDC__ */ #endif /* ! __cplusplus */ -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include <io.h> -#include <stdlib.h> -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - #ifdef YY_USE_CONST #define yyconst const #else diff --git a/mcopidl/yacc.cpp b/mcopidl/yacc.cpp index 054f71b..dc8b86e 100644 --- a/mcopidl/yacc.cpp +++ b/mcopidl/yacc.cpp @@ -380,19 +380,19 @@ static const short yycheck[] = { 0, /* We think this test detects Watcom and Microsoft C. */ /* This used to test MSDOS, but that is a bad idea since that symbol is in the user namespace. */ -#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__) +#if defined (_MSDOS) || defined (_MSDOS_) #if 0 /* No need for malloc.h, which pollutes the namespace; instead, just don't use alloca. */ #include <malloc.h> #endif -#else /* not MSDOS, or __TURBOC__ */ +#else /* not MSDOS */ #if defined(_AIX) /* I don't know what this was needed for, but it pollutes the namespace. So I turned it off. rms, 2 May 1997. */ /* #include <malloc.h> */ #pragma alloca #define YYSTACK_USE_ALLOCA -#else /* not MSDOS, or __TURBOC__, or _AIX */ +#else /* not MSDOS or _AIX */ #if 0 #ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up, and on HPUX 10. Eventually we can turn this on. */ @@ -401,7 +401,7 @@ static const short yycheck[] = { 0, #endif /* __hpux */ #endif #endif /* not _AIX */ -#endif /* not MSDOS, or __TURBOC__ */ +#endif /* not MSDOS */ #endif /* not sparc */ #endif /* not GNU C */ #endif /* alloca not defined */ |