summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-03-01 14:01:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-03-01 17:40:47 +0100
commite1e39fac2203d10f8a19b18558c42a1943ad8736 (patch)
tree6cd968d66a1bd697eb8856950f4a3f3c77b9e390 /basic
parentc2b20809b5d446d8f9d1d35723d67d24f64144dd (diff)
Some more WIN32 -> _WIN32
...at least some of which have presumably been missing from ce43d0ae9279edbf1ad108fe0d8325327a038d49 "use consistent #define checks for the Windows platform" by accident (and some just clean up comments) Change-Id: I5532685c7df96ae3c8a25b73d8064d7433964a9b Reviewed-on: https://gerrit.libreoffice.org/68580 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/cppunit/test_vba.cxx2
-rw-r--r--basic/source/classes/sbxmod.cxx2
-rw-r--r--basic/source/sbx/sbxdec.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index 820464ee22bd..5466afc5a536 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -137,7 +137,7 @@ void VBATest::testMiscVBAFunctions()
"weekday.vb",
"weekdayname.vb",
"year.vb",
-#ifndef WIN32 // missing 64bit Currency marshalling.
+#ifndef _WIN32 // missing 64bit Currency marshalling.
"win32compat.vb", // windows compatibility hooks.
#endif
"win32compatb.vb" // same methods, different signatures.
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 30f234655abb..c7da7a7f6e21 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1076,7 +1076,7 @@ void SbModule::Run( SbMethod* pMeth )
// Empiric value, 1650 = needed bytes/Basic call level
// for Solaris including 10% safety margin
nMaxCallLevel = rl.rlim_cur / 1650;
-#elif defined WIN32
+#elif defined _WIN32
nMaxCallLevel = 5800;
#else
nMaxCallLevel = MAXRECURSION;
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index b1f9b0dd00c0..8ae493031c0c 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -283,7 +283,7 @@ bool SbxDecimal::getDouble( double& rVal )
}
#else
-// !WIN32
+// !_WIN32
bool SbxDecimal::operator -= ( const SbxDecimal & )
{