summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-05-19 17:27:48 +0900
committerMichael Stahl <mstahl@redhat.com>2017-05-22 22:00:47 +0200
commitf060adefba5f67ec20d755cf1d95d49b62686ee5 (patch)
tree60750f62584b121b78d25fbb95cbc7cd462fb041 /basic/qa
parentc31bed5cd54e3db5a22d15d794d326ce9cafe146 (diff)
Test _WIN32 instead of WIN32
since the former is predefined by Visual C++ [0], but the latter is not. [0] https://msdn.microsoft.com/en-us/library/b0084kay.aspx Change-Id: I9ecb84779cbaf5f0186ef0b05da61b32293f8f2b Reviewed-on: https://gerrit.libreoffice.org/37808 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/cppunit/test_vba.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index 8b46d739f81d..ddd640d371d4 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -10,7 +10,7 @@
#include <comphelper/processfactory.hxx>
#include <unotools/syslocaleoptions.hxx>
-#ifdef WIN32
+#ifdef _WIN32
#include <string.h>
#include <windows.h>