summaryrefslogtreecommitdiff
path: root/sal/qa/osl/module/osl_Module_Const.h
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/osl/module/osl_Module_Const.h')
-rw-r--r--sal/qa/osl/module/osl_Module_Const.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sal/qa/osl/module/osl_Module_Const.h b/sal/qa/osl/module/osl_Module_Const.h
index 40b33218d047..3434d439f2a3 100644
--- a/sal/qa/osl/module/osl_Module_Const.h
+++ b/sal/qa/osl/module/osl_Module_Const.h
@@ -29,10 +29,9 @@
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
-#if ( defined UNX ) //Unix
+#if defined(UNX) // Unix
# include <unistd.h>
-#endif
-#if ( defined WNT ) // Windows
+#elif defined(_WIN32) // Windows
# include <io.h>
#endif