diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2015-09-01 09:47:47 -0700 |
---|---|---|
committer | Mike McLaughlin <mikem@microsoft.com> | 2015-09-01 09:51:39 -0700 |
commit | 9a75aa888ba231905ac9b8c0d416976f19004f66 (patch) | |
tree | c132f72e34828e3852f451c9ae2e5fc15c28a164 /src/ToolBox | |
parent | 76295f3b8cac44666b79a65339df408b3ca6f192 (diff) | |
download | coreclr-9a75aa888ba231905ac9b8c0d416976f19004f66.tar.gz coreclr-9a75aa888ba231905ac9b8c0d416976f19004f66.tar.bz2 coreclr-9a75aa888ba231905ac9b8c0d416976f19004f66.zip |
Fix FreeBSD build after merge of my changes from the ProjectK branch.
Diffstat (limited to 'src/ToolBox')
-rw-r--r-- | src/ToolBox/SOS/Strike/sildasm.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ToolBox/SOS/Strike/sildasm.cpp b/src/ToolBox/SOS/Strike/sildasm.cpp index 6875436616..c78378769e 100644 --- a/src/ToolBox/SOS/Strike/sildasm.cpp +++ b/src/ToolBox/SOS/Strike/sildasm.cpp @@ -624,6 +624,13 @@ void DecodeDynamicIL(BYTE *data, ULONG Size, DacpObjectData& tokenArray) /******************************************************************************/ // CQuickBytes utilities +#ifdef FEATURE_PAL +// Don't need the implementations since sos references the dac module containing them. +char* asString(CQuickBytes *out); +void appendStr(CQuickBytes *out, const char* str, unsigned len = -1); +void appendChar(CQuickBytes *out, char chr); +void insertStr(CQuickBytes *out, const char* str); +#else static char* asString(CQuickBytes *out) { SIZE_T oldSize = out->Size(); out->ReSize(oldSize + 1); @@ -658,6 +665,7 @@ static void insertStr(CQuickBytes *out, const char* str) { memcpy(out->Ptr(), str, len); // Note no trailing null! } +#endif static void appendStrNum(CQuickBytes *out, int num) { char buff[16]; |