diff options
Diffstat (limited to 'sal/qa/osl/security/osl_Security.cxx')
-rw-r--r-- | sal/qa/osl/security/osl_Security.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx index 693137fd9ab9..33c093b8d7ea 100644 --- a/sal/qa/osl/security/osl_Security.cxx +++ b/sal/qa/osl/security/osl_Security.cxx @@ -18,7 +18,7 @@ */ #include <algorithm> -#ifdef WNT +#ifdef _WIN32 #include <windows.h> #undef min #endif @@ -152,7 +152,7 @@ namespace osl_Security void getUserName_001( ) { ::osl::Security aSec; -#ifdef WNT +#ifdef _WIN32 ::rtl::OUString strName( strUserName ), strGetName; #else ::rtl::OUString strName( strUserName ), strGetName; @@ -350,7 +350,7 @@ void MyTestPlugInImpl::initialize( CPPUNIT_NS::TestFactoryRegistry *, isAdmin = true; #endif -#if defined ( WNT ) +#if defined(_WIN32) /// some initialization work for Windows OS /// Get the user name, computer name, user home directory. |