From 1a315409dc3720dbf19a58ce406d4e1e3c20b893 Mon Sep 17 00:00:00 2001 From: vboxsync Date: Fri, 27 Aug 2010 12:43:06 +0000 Subject: iprt: disable RTStrAAppendExNVTag for RING0 as it is currently not used and induces linker problems on Windows git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@32047 cfe28804-0f27-0410-a406-dd0f0b0b656f --- src/VBox/Runtime/common/string/stringalloc.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/VBox/Runtime/common/string/stringalloc.cpp') diff --git a/src/VBox/Runtime/common/string/stringalloc.cpp b/src/VBox/Runtime/common/string/stringalloc.cpp index 7f7e31f0a5c..4e22131db39 100644 --- a/src/VBox/Runtime/common/string/stringalloc.cpp +++ b/src/VBox/Runtime/common/string/stringalloc.cpp @@ -31,7 +31,9 @@ #include #include "internal/iprt.h" -#include +#ifndef IN_RING0 +# include +#endif #include #include #include @@ -175,6 +177,11 @@ RTDECL(int) RTStrAAppendNTag(char **ppsz, const char *pszAppend, size_t cchAppen } +#ifndef IN_RING0 + +/* XXX Currently not needed anywhere. alloca() induces some linker problems for ring 0 code + * with newer versions of VCC */ + RTDECL(int) RTStrAAppendExNVTag(char **ppsz, size_t cPairs, va_list va, const char *pszTag) { AssertPtr(ppsz); @@ -234,6 +241,8 @@ RTDECL(int) RTStrAAppendExNVTag(char **ppsz, size_t cPairs, va_list va, const ch } RT_EXPORT_SYMBOL(RTStrAAppendExNVTag); +#endif + RTDECL(int) RTStrATruncateTag(char **ppsz, size_t cchNew, const char *pszTag) { -- cgit v1.2.1