diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llcommon/llpreprocessor.h | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llpreprocessor.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llpreprocessor.h b/linden/indra/llcommon/llpreprocessor.h index 8d38904..e99b103 100644 --- a/linden/indra/llcommon/llpreprocessor.h +++ b/linden/indra/llcommon/llpreprocessor.h | |||
@@ -79,9 +79,16 @@ | |||
79 | 79 | ||
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | |||
82 | // Deal with the differeneces on Windows | 83 | // Deal with the differeneces on Windows |
83 | #if LL_MSVC | 84 | #if LL_MSVC |
84 | #define snprintf safe_snprintf /* Flawfinder: ignore */ | 85 | namespace snprintf_hack |
86 | { | ||
87 | int snprintf(char *str, size_t size, const char *format, ...); | ||
88 | } | ||
89 | |||
90 | // #define snprintf safe_snprintf /* Flawfinder: ignore */ | ||
91 | using snprintf_hack::snprintf; | ||
85 | #endif // LL_MSVC | 92 | #endif // LL_MSVC |
86 | 93 | ||
87 | // Static linking with apr on windows needs to be declared. | 94 | // Static linking with apr on windows needs to be declared. |