diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-20 10:39:23 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-20 10:39:23 +0100 |
commit | ec7b6d84939e00f30d40218be8adae6318f90ea8 (patch) | |
tree | fe8e8b8ab457352ffcda9af61bdc177a6d7965ab /rsc | |
parent | d87d45752f0b746939a349abcd8a8b487a422df9 (diff) |
Remove TCPP support
Old Turbo C++ compiler.
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/prj/gui.cxx | 2 | ||||
-rw-r--r-- | rsc/source/prj/start.cxx | 8 | ||||
-rw-r--r-- | rsc/source/rscpp/cppmain.c | 4 |
3 files changed, 3 insertions, 11 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx index f011c622e03e..ecbf57928f92 100644 --- a/rsc/source/prj/gui.cxx +++ b/rsc/source/prj/gui.cxx @@ -43,7 +43,7 @@ static RscCompiler * pRscCompiler = NULL; /* */ /* Description : Gibt die Temporaeren Dateien frei. */ /****************************************************************/ -#if defined( UNX ) || ( defined( OS2 ) && ( defined( TCPP ) || defined ( GCC )) ) || defined(__MINGW32__) +#if defined( UNX ) || defined ( GCC ) || defined(__MINGW32__) void ExitProgram( void ){ #else #if defined( CSET ) diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx index ea478e4c260a..0ac6a39a0f7e 100644 --- a/rsc/source/prj/start.cxx +++ b/rsc/source/prj/start.cxx @@ -33,10 +33,6 @@ #include <stdio.h> #include <fcntl.h> #include <string.h> -#if defined (WNT) && defined (tcpp) -#define _spawnvp spawnvp -#define _P_WAIT P_WAIT -#endif #ifdef UNX #include <unistd.h> @@ -175,7 +171,7 @@ static BOOL CallPrePro( const ByteString& rPrePro, } } -#if ((defined OS2 || defined WNT) && (defined TCPP || defined tcpp)) || defined UNX || defined OS2 +#if defined UNX || defined OS2 nExit = spawnvp( P_WAIT, rPrePro.GetBuffer(), (char* const*)pCmdL->GetBlock() ); #elif defined CSET nExit = spawnvp( P_WAIT, (char*)rPrePro.GetBuffer(), (const char**)pCmdL->GetBlock() ); @@ -287,7 +283,7 @@ static BOOL CallRsc2( ByteString aRsc2Name, printf( "\n" ); } -#if ((defined OS2 || defined WNT) && (defined TCPP || defined tcpp)) || defined UNX || defined OS2 +#if defined UNX || defined OS2 nExit = spawnvp( P_WAIT, aRsc2Name.GetBuffer(), (char* const*)aNewCmdL.GetBlock() ); #elif defined CSET nExit = spawnvp( P_WAIT, (char*)aRsc2Name.GetBuffer(), (char **)(const char**)aNewCmdL.GetBlock() ); diff --git a/rsc/source/rscpp/cppmain.c b/rsc/source/rscpp/cppmain.c index 4dc2d72bd4a9..144576e2846b 100644 --- a/rsc/source/rscpp/cppmain.c +++ b/rsc/source/rscpp/cppmain.c @@ -37,10 +37,6 @@ int main( argc, argv ) int argc; char *argv[]; { -#ifdef TSTCPP - ( start_cpp( argc, argv ) ); - puts("erster teil ist fertig" ); -#endif return( start_cpp( argc, argv ) ); } |