Kaydet (Commit) 1ad1d7c1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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.
üst 2062cdd6
...@@ -162,11 +162,7 @@ static sal_Bool CallPrePro( const ByteString& rPrePro, ...@@ -162,11 +162,7 @@ static sal_Bool CallPrePro( const ByteString& rPrePro,
} }
} }
#if defined UNX
nExit = spawnvp( P_WAIT, rPrePro.GetBuffer(), (char* const*)pCmdL->GetBlock() ); 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 ( fRspFile )
#if OSL_DEBUG_LEVEL > 5 #if OSL_DEBUG_LEVEL > 5
...@@ -260,11 +256,7 @@ static sal_Bool CallRsc2( ByteString aRsc2Name, ...@@ -260,11 +256,7 @@ static sal_Bool CallRsc2( ByteString aRsc2Name,
printf( "\n" ); printf( "\n" );
} }
#if defined UNX
nExit = spawnvp( P_WAIT, aRsc2Name.GetBuffer(), (char* const*)aNewCmdL.GetBlock() ); 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( fRspFile )
#if OSL_DEBUG_LEVEL > 5 #if OSL_DEBUG_LEVEL > 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment