diff options
Diffstat (limited to 'linden/indra/llcommon/llpreprocessor.h')
-rw-r--r-- | linden/indra/llcommon/llpreprocessor.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llcommon/llpreprocessor.h b/linden/indra/llcommon/llpreprocessor.h index f03fe89..9db0108 100644 --- a/linden/indra/llcommon/llpreprocessor.h +++ b/linden/indra/llcommon/llpreprocessor.h | |||
@@ -51,7 +51,9 @@ | |||
51 | #define LL_LIBXUL_ENABLED 1 | 51 | #define LL_LIBXUL_ENABLED 1 |
52 | #elif LL_LINUX | 52 | #elif LL_LINUX |
53 | #define LL_QUICKTIME_ENABLED 0 | 53 | #define LL_QUICKTIME_ENABLED 0 |
54 | #define LL_LIBXUL_ENABLED 0 | 54 | #ifndef LL_LIBXUL_ENABLED |
55 | #define LL_LIBXUL_ENABLED 1 | ||
56 | #endif // def LL_LIBXUL_ENABLED | ||
55 | #endif | 57 | #endif |
56 | 58 | ||
57 | #if LL_LIBXUL_ENABLED && !defined(MOZILLA_INTERNAL_API) | 59 | #if LL_LIBXUL_ENABLED && !defined(MOZILLA_INTERNAL_API) |
@@ -80,7 +82,7 @@ | |||
80 | 82 | ||
81 | // Deal with the differeneces on Windows | 83 | // Deal with the differeneces on Windows |
82 | #if defined(LL_WINDOWS) | 84 | #if defined(LL_WINDOWS) |
83 | #define snprintf _snprintf | 85 | #define snprintf _snprintf /*Flawfinder: ignore*/ |
84 | #endif // LL_WINDOWS | 86 | #endif // LL_WINDOWS |
85 | 87 | ||
86 | // Static linking with apr on windows needs to be declared. | 88 | // Static linking with apr on windows needs to be declared. |
@@ -110,6 +112,7 @@ | |||
110 | #pragma warning( disable : 4284 ) // silly MS warning deep inside their <map> include file | 112 | #pragma warning( disable : 4284 ) // silly MS warning deep inside their <map> include file |
111 | #pragma warning( disable : 4503 ) // 'decorated name length exceeded, name was truncated'. Does not seem to affect compilation. | 113 | #pragma warning( disable : 4503 ) // 'decorated name length exceeded, name was truncated'. Does not seem to affect compilation. |
112 | #pragma warning( disable : 4800 ) // 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) | 114 | #pragma warning( disable : 4800 ) // 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) |
115 | #pragma warning( disable : 4996 ) // warning: deprecated | ||
113 | #endif // LL_WINDOWS | 116 | #endif // LL_WINDOWS |
114 | 117 | ||
115 | #endif // not LL_LINDEN_PREPROCESSOR_H | 118 | #endif // not LL_LINDEN_PREPROCESSOR_H |