summaryrefslogtreecommitdiff
path: root/stoc/test/testsmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/testsmgr.cxx')
-rw-r--r--stoc/test/testsmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/test/testsmgr.cxx b/stoc/test/testsmgr.cxx
index 666d16fa5f92..d65b1c2e3a07 100644
--- a/stoc/test/testsmgr.cxx
+++ b/stoc/test/testsmgr.cxx
@@ -47,7 +47,7 @@ OUString getExePath()
OSL_VERIFY( osl_getExecutableFile( &exe.pData) == osl_Process_E_None);
-#if defined(WIN32) || defined(WNT)
+#if defined(_WIN32)
exe = exe.copy(0, exe.getLength() - 16);
#else
exe = exe.copy(0, exe.getLength() - 12);