summaryrefslogtreecommitdiff
path: root/idlc/source/options.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/options.cxx')
-rw-r--r--idlc/source/options.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index 229e5b45f5a7..e430f1c87f00 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -27,7 +27,7 @@
#include "rtl/ustring.hxx"
#include "osl/file.hxx"
-#ifdef WNT
+#ifdef _WIN32
# include <windows.h>
#endif
@@ -191,7 +191,7 @@ bool Options::setOption(char const * option, std::string const & rArg)
return result;
}
-#ifdef WNT
+#ifdef _WIN32
/* Helper functiopn to convert windows paths including spaces, brackets etc. into
a windows short Url. The ucpp preprocessor has problems with such paths and returns
with error.
@@ -270,7 +270,7 @@ bool Options::initOptions(std::vector< std::string > & rArgs) throw(IllegalArgum
if (!buffer.isEmpty())
buffer.append(' ');
// buffer.append("-I\"");
-#ifdef WNT
+#ifdef _WIN32
OString incpath = convertIncPathtoShortWindowsPath(param.getToken(0, ';', k));
#else
OString incpath = param.getToken(0, ';', k);