summaryrefslogtreecommitdiff
path: root/rsc/source/prj
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-21 13:46:49 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-22 09:09:32 +0300
commit1ad1d7c114931b3daf870fd8935463b92510787d (patch)
tree44b569438ecdaeb71f6a22a7e75aab3bd2ae5213 /rsc/source/prj
parent2062cdd6ca671fb6a1b0d3bfb4146de02bfb15d2 (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/source/prj')
-rw-r--r--rsc/source/prj/start.cxx8
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