diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-21 18:51:58 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-21 18:51:58 +0100 |
commit | 2868cfdcbaa5d76d854bc55aa8c33621acdb8ad2 (patch) | |
tree | e2b2de7e8234619d2ab56acb6e8ce2ccdafcf8d4 /rsc | |
parent | b83e7b4144a132f34681f7b71619156e997381f0 (diff) |
Remove ZTC support
Obsolete Zortech compiler
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/parser/rsckey.cxx | 4 | ||||
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 7 | ||||
-rw-r--r-- | rsc/source/rscpp/cpp3.c | 4 | ||||
-rw-r--r-- | rsc/source/rscpp/cpp4.c | 4 | ||||
-rw-r--r-- | rsc/source/rscpp/cpp5.c | 2 | ||||
-rw-r--r-- | rsc/source/rscpp/cpp6.c | 2 |
6 files changed, 2 insertions, 21 deletions
diff --git a/rsc/source/parser/rsckey.cxx b/rsc/source/parser/rsckey.cxx index a6847fae1812..be0cefcf029b 100644 --- a/rsc/source/parser/rsckey.cxx +++ b/rsc/source/parser/rsckey.cxx @@ -45,15 +45,11 @@ /****************** C o d e **********************************************/ /****************** keyword sort function ********************************/ extern "C" { -#if defined( ZTC ) && defined( PM2 ) - int __CLIB KeyCompare( const void * pFirst, const void * pSecond ); -#else #if defined( WNT ) && !defined (ICC) int _cdecl KeyCompare( const void * pFirst, const void * pSecond ); #else int KeyCompare( const void * pFirst, const void * pSecond ); #endif -#endif } #if defined( WNT ) && !defined(ICC) diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index 1d0b28165a05..bf653c76badd 100644 --- a/rsc/source/rsc/rsc.cxx +++ b/rsc/source/rsc/rsc.cxx @@ -50,13 +50,6 @@ #include <ctype.h> #include <errno.h> -#if defined( PM2 ) && defined( ZTC ) -#include <svpm.h> -#ifndef unlink -#define unlink( p ) DosDelete( (PSZ)(const char*)p ) -#endif -#endif - #include <tools/fsys.hxx> #include <tools/stream.hxx> #include <rscerror.h> diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c index 04a7e4da3f85..e2e7cdd98535 100644 --- a/rsc/source/rscpp/cpp3.c +++ b/rsc/source/rscpp/cpp3.c @@ -170,7 +170,7 @@ void setincdirs() * verwendete knallte es in strcpy() ! */ -#if !defined( ZTC ) && !defined( WNT ) && ! defined UNX && ! defined OS2 +#if !defined( WNT ) && ! defined UNX && ! defined OS2 extern char *getenv( char *pStr ); /* BP */ #endif char *pIncGetEnv = NULL; /* Pointer auf INCLUDE */ @@ -465,7 +465,7 @@ void initdefines() int i; time_t tvec; -#if !defined( ZTC ) && !defined( WNT ) && !defined(G3) +#if !defined( WNT ) && !defined(G3) extern char *ctime(); #endif diff --git a/rsc/source/rscpp/cpp4.c b/rsc/source/rscpp/cpp4.c index 5a17a101cf0c..f64d69e2e76a 100644 --- a/rsc/source/rscpp/cpp4.c +++ b/rsc/source/rscpp/cpp4.c @@ -405,9 +405,7 @@ void expand(DEFBUF* tokenp) { register int c; register FILEINFO *file; -#ifndef ZTC /* BP */ extern FILEINFO *getfile(); -#endif #if OSL_DEBUG_LEVEL > 1 if (debug) @@ -563,9 +561,7 @@ void expstuff(DEFBUF* tokenp) char *defend; /* -> output buff end */ int string_magic; /* String formal hack */ FILEINFO *file; /* Funny #include */ -#ifndef ZTC /* BP */ extern FILEINFO *getfile(); -#endif file = getfile(NBUFF, tokenp->name); inp = tokenp->repl; /* -> macro replacement */ diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c index afe5a2fe7d3c..9c2cfe68f10b 100644 --- a/rsc/source/rscpp/cpp5.c +++ b/rsc/source/rscpp/cpp5.c @@ -236,9 +236,7 @@ eval() int skip; /* For short-circuit testing */ int value[NEXP]; /* Value stack */ OPTAB opstack[NEXP]; /* Operand stack */ -#ifndef ZTC /* BP */ extern int *evaleval(); /* Does actual evaluation */ -#endif valp = value; opp = opstack; opp->op = OP_END; /* Mark bottom of stack */ diff --git a/rsc/source/rscpp/cpp6.c b/rsc/source/rscpp/cpp6.c index 1f142051b653..360e3f75b25f 100644 --- a/rsc/source/rscpp/cpp6.c +++ b/rsc/source/rscpp/cpp6.c @@ -1030,9 +1030,7 @@ void ungetstring(char* text) */ { register FILEINFO *file; -#ifndef ZTC /* BP */ extern FILEINFO *getfile(); -#endif file = getfile(strlen(text) + 1, ""); strcpy(file->buffer, text); } |