aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/llstring.h')
-rw-r--r--linden/indra/llcommon/llstring.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llstring.h b/linden/indra/llcommon/llstring.h
index 0485a1e..d901e61 100644
--- a/linden/indra/llcommon/llstring.h
+++ b/linden/indra/llcommon/llstring.h
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 5 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -38,6 +39,7 @@
38#include <stdlib.h> 39#include <stdlib.h>
39#include <errno.h> 40#include <errno.h>
40#include <math.h> 41#include <math.h>
42#include <stdarg.h> /* for vsnprintf */
41#if LL_LINUX 43#if LL_LINUX
42#include <wctype.h> 44#include <wctype.h>
43#include <wchar.h> 45#include <wchar.h>
@@ -464,6 +466,9 @@ std::ostream& operator<<(std::ostream &s, const LLStringBase<T> &str)
464 466
465std::ostream& operator<<(std::ostream &s, const LLWString &wstr); 467std::ostream& operator<<(std::ostream &s, const LLWString &wstr);
466 468
469#if LL_WINDOWS
470int safe_snprintf(char *str, size_t size, const char *format, ...);
471#endif // LL_WINDOWS
467 472
468/** 473/**
469 * Many of the 'strip' and 'replace' methods of LLStringBase need 474 * Many of the 'strip' and 'replace' methods of LLStringBase need