diff options
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx | 2 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/resourcemanager.cxx | 2 | ||||
-rw-r--r-- | xmlsecurity/workben/signaturetest.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx b/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx index 74f207e20d63..0de79b1623c5 100644 --- a/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx +++ b/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx @@ -128,7 +128,7 @@ #include <xmlsecurity/biginteger.hxx> // Cleanup windows header macro pollution. -#if defined(WNT) && defined(WINAPI) +#if defined(_WIN32) && defined(WINAPI) # include <postwin.h> # undef RGB #endif diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx index c5a1e1382d7e..bf3979b81981 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.cxx +++ b/xmlsecurity/source/dialogs/resourcemanager.cxx @@ -101,7 +101,7 @@ namespace XmlSec which we use to retrieve, for example, the subject name. If double quotes appear in the value then they are escaped with a double quote. This function removes the escape characters. */ -#ifdef WNT +#ifdef _WIN32 vector< pair< OUString, OUString> > parseDN(const OUString& rRawString) { vector< pair<OUString, OUString> > retVal; diff --git a/xmlsecurity/workben/signaturetest.cxx b/xmlsecurity/workben/signaturetest.cxx index 42ac155f0cab..d9987108c60d 100644 --- a/xmlsecurity/workben/signaturetest.cxx +++ b/xmlsecurity/workben/signaturetest.cxx @@ -243,7 +243,7 @@ MyWin::MyWin( vcl::Window* pParent, WinBits nWinStyle ) : maEditSIGFileName.SetText( aNSSFolder + "demo-result.xml" ); maEditTokenName.SetText( aNSSFolder ); -#ifdef WNT +#ifdef _WIN32 maEditTokenName.SetText( OUString() ); maEditTokenName.Disable(); maCryptoCheckBox.Disable(); |