summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2009-06-23 17:58:51 -0700
committerMark Palange (Mani) <palange@lindenlab.com>2009-06-23 17:58:51 -0700
commit9b86d4c12f5f29d0bca5354d4e1ac6b5c828a327 (patch)
tree8817ac78ec94cbb3938d6932cb164acadee406d8 /indra/llcommon
parent85e326e7c74268fec4902b9b8b33a310f8c49a42 (diff)
Removed conflict markers (ie. <<<<<<<) in llmessage/CMakeLists.txt
Copied snprintf declaration in llstring from login-api-3
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llstring.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h
index 91b706a5be..813e2656ae 100644
--- a/indra/llcommon/llstring.h
+++ b/indra/llcommon/llstring.h
@@ -521,7 +521,14 @@ std::string utf8str_removeCRLF(const std::string& utf8str);
* formatted string.
*
*/
-int safe_snprintf(char* str, size_t size, const char* format, ...);
+
+// Deal with the differeneces on Windows
+namespace snprintf_hack
+{
+ LL_COMMON_API int snprintf(char *str, size_t size, const char *format, ...);
+}
+
+using snprintf_hack::snprintf;
/**
* @brief Convert a wide string to std::string