summaryrefslogtreecommitdiff
path: root/src/ToolBox
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2015-09-01 09:47:47 -0700
committerMike McLaughlin <mikem@microsoft.com>2015-09-01 09:51:39 -0700
commit9a75aa888ba231905ac9b8c0d416976f19004f66 (patch)
treec132f72e34828e3852f451c9ae2e5fc15c28a164 /src/ToolBox
parent76295f3b8cac44666b79a65339df408b3ca6f192 (diff)
downloadcoreclr-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.cpp8
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];