summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-02-08 12:54:04 +0100
committerMichael Stahl <mstahl@redhat.com>2017-02-08 12:58:37 +0100
commit2e0e05aa3c1ba35608bc4f0f8a6718cca3e414b9 (patch)
tree4f9aad60cac9c64b0d711f8a30f220705251142c /basic
parent3b94a463c5dad278b3d8d8c19d4572ba603c3943 (diff)
basic: another SOLARIS check here converted to __sun
Change-Id: Iec76b096cfcab4bd45b77bdb1438776bf5de69ca
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index c9c7b739e8ce..8976a89be9cd 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1097,7 +1097,7 @@ void SbModule::Run( SbMethod* pMeth )
// Empiric value, 900 = needed bytes/Basic call level
// for Linux including 10% safety margin
nMaxCallLevel = rl.rlim_cur / 900;
-#elif defined SOLARIS
+#elif defined __sun
// Empiric value, 1650 = needed bytes/Basic call level
// for Solaris including 10% safety margin
nMaxCallLevel = rl.rlim_cur / 1650;