diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-21 13:46:49 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-22 09:09:32 +0300 |
commit | 1ad1d7c114931b3daf870fd8935463b92510787d (patch) | |
tree | 44b569438ecdaeb71f6a22a7e75aab3bd2ae5213 /rsc | |
parent | 2062cdd6ca671fb6a1b0d3bfb4146de02bfb15d2 (diff) |
Drop unnecessary UNX vs. Windows ifdef
The UNX code compiles fine both with MSVC and MinGW. In fact, the
non-UNX code did not compile with a modern MinGW.
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/prj/start.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx index 8a949546ce3a..cee2ae0612be 100644 --- a/rsc/source/prj/start.cxx +++ b/rsc/source/prj/start.cxx @@ -162,11 +162,7 @@ static sal_Bool CallPrePro( const ByteString& rPrePro, } } -#if defined UNX nExit = spawnvp( P_WAIT, rPrePro.GetBuffer(), (char* const*)pCmdL->GetBlock() ); -#else - nExit = spawnvp( P_WAIT, (char*)rPrePro.GetBuffer(), (const char**)pCmdL->GetBlock() ); -#endif if ( fRspFile ) #if OSL_DEBUG_LEVEL > 5 @@ -260,11 +256,7 @@ static sal_Bool CallRsc2( ByteString aRsc2Name, printf( "\n" ); } -#if defined UNX nExit = spawnvp( P_WAIT, aRsc2Name.GetBuffer(), (char* const*)aNewCmdL.GetBlock() ); -#else - nExit = spawnvp( P_WAIT, (char*)aRsc2Name.GetBuffer(), (const char**)aNewCmdL.GetBlock() ); -#endif if( fRspFile ) #if OSL_DEBUG_LEVEL > 5 |