diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llerror.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llerror.cpp b/linden/indra/llcommon/llerror.cpp index b95b325..cf4b341 100644 --- a/linden/indra/llcommon/llerror.cpp +++ b/linden/indra/llcommon/llerror.cpp | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * $LicenseInfo:firstyear=2006&license=viewergpl$ | 6 | * $LicenseInfo:firstyear=2006&license=viewergpl$ |
7 | * | 7 | * |
8 | * Copyright (c) 2006-2008, Linden Research, Inc. | 8 | * Copyright (c) 2006-2009, Linden Research, Inc. |
9 | * | 9 | * |
10 | * Second Life Viewer Source Code | 10 | * Second Life Viewer Source Code |
11 | * The source code in this file ("Source Code") is provided by Linden Lab | 11 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -1168,6 +1168,10 @@ namespace LLError | |||
1168 | return s.shouldLogCallCounter; | 1168 | return s.shouldLogCallCounter; |
1169 | } | 1169 | } |
1170 | 1170 | ||
1171 | #if LL_WINDOWS | ||
1172 | // VC80 was optimizing the error away. | ||
1173 | #pragma optimize("", off) | ||
1174 | #endif | ||
1171 | void crashAndLoop(const std::string& message) | 1175 | void crashAndLoop(const std::string& message) |
1172 | { | 1176 | { |
1173 | // Now, we go kaboom! | 1177 | // Now, we go kaboom! |
@@ -1180,6 +1184,9 @@ namespace LLError | |||
1180 | // Loop forever, in case the crash didn't work? | 1184 | // Loop forever, in case the crash didn't work? |
1181 | } | 1185 | } |
1182 | } | 1186 | } |
1187 | #if LL_WINDOWS | ||
1188 | #pragma optimize("", on) | ||
1189 | #endif | ||
1183 | 1190 | ||
1184 | std::string utcTime() | 1191 | std::string utcTime() |
1185 | { | 1192 | { |