diff options
| author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2010-08-27 12:43:06 +0000 |
|---|---|---|
| committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2010-08-27 12:43:06 +0000 |
| commit | 1a315409dc3720dbf19a58ce406d4e1e3c20b893 (patch) | |
| tree | 2cf141c013da0777d985bc8b6e2262da30c07662 /src/VBox/Runtime/common/string/stringalloc.cpp | |
| parent | 1668b1ede01ce775112f238983cc8ba48a71c054 (diff) | |
| download | VirtualBox-svn-1a315409dc3720dbf19a58ce406d4e1e3c20b893.tar.gz | |
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
Diffstat (limited to 'src/VBox/Runtime/common/string/stringalloc.cpp')
| -rw-r--r-- | src/VBox/Runtime/common/string/stringalloc.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
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 <iprt/string.h> #include "internal/iprt.h" -#include <iprt/alloca.h> +#ifndef IN_RING0 +# include <iprt/alloca.h> +#endif #include <iprt/assert.h> #include <iprt/mem.h> #include <iprt/err.h> @@ -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) { |
