diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmath/llmath.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/linden/indra/llmath/llmath.h b/linden/indra/llmath/llmath.h index 9be2524..f1b223f 100644 --- a/linden/indra/llmath/llmath.h +++ b/linden/indra/llmath/llmath.h | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llmath.h | 2 | * @file llmath.h |
3 | * @brief Useful math constants and macros. | 3 | * @brief Useful math constants and macros. |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2000&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2000-2007, Linden Research, Inc. | 7 | * Copyright (c) 2000-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,17 +26,12 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #ifndef LLMATH_H | 32 | #ifndef LLMATH_H |
30 | #define LLMATH_H | 33 | #define LLMATH_H |
31 | 34 | ||
32 | #include <cmath> | ||
33 | #include <math.h> | ||
34 | #include <stdlib.h> | ||
35 | |||
36 | #include "lldefs.h" | ||
37 | |||
38 | // work around for Windows & older gcc non-standard function names. | 35 | // work around for Windows & older gcc non-standard function names. |
39 | #if LL_WINDOWS | 36 | #if LL_WINDOWS |
40 | #define llisnan(val) _isnan(val) | 37 | #define llisnan(val) _isnan(val) |