summaryrefslogtreecommitdiff
path: root/idlc/source/idlccompile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/idlccompile.cxx')
-rw-r--r--idlc/source/idlccompile.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index 84f026a1db89..c2a4e045aea6 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -25,7 +25,7 @@
#include <osl/thread.h>
#include <osl/file.hxx>
-#if defined(SAL_W32)
+#if defined(_WIN32)
#include <io.h>
#endif
@@ -122,7 +122,7 @@ OString makeTempName(const OString& prefix)
{
if ( osl_getEnvironment(OUString("TEMP").pData, &uTmpPath.pData) != osl_Process_E_None )
{
-#if defined(SAL_W32)
+#if defined(_WIN32)
tmpPath = OString("c:\\temp");
#else
tmpPath = OString("/tmp");
@@ -133,7 +133,7 @@ OString makeTempName(const OString& prefix)
if ( !uTmpPath.isEmpty() )
tmpPath = OUStringToOString(uTmpPath, RTL_TEXTENCODING_UTF8);
-#if defined(SAL_W32) || defined(SAL_UNX)
+#if defined(_WIN32) || defined(SAL_UNX)
OSL_ASSERT( sizeof(tmpFilePattern) >
static_cast<size_t>( tmpPath.getLength()
@@ -302,7 +302,7 @@ sal_Int32 compileFile(const OString * pathname)
sal_Int32 idx= cpp.lastIndexOf("idlc");
cpp = cpp.copy(0, idx);
-#if defined(SAL_W32)
+#if defined(_WIN32)
cpp += "ucpp.exe";
#else
cpp += "ucpp";