Fix build break
authorJan Kotas <jkotas@microsoft.com>
Wed, 29 Apr 2015 17:39:59 +0000 (10:39 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 29 Apr 2015 17:39:59 +0000 (10:39 -0700)
[tfs-changeset: 1462132]

clr.coreclr.props
src/tools/crossgen/crossgen.cpp

index 931a62c..dab09b8 100644 (file)
@@ -50,7 +50,7 @@
     <FeatureXPlatDacDebugging_HostWindowsAMD64 Condition="'$(TargetArch)' == 'amd64' or '$(TargetArch)' == 'arm64'">true</FeatureXPlatDacDebugging_HostWindowsAMD64>
     <FeatureXPlatDacDebugging_HostOneCorex86 Condition="'$(TargetArch)' == 'i386' or '$(TargetArch)' == 'arm'">true</FeatureXPlatDacDebugging_HostOneCorex86>
     <FeatureXPlatDacDebugging_HostOneCoreAMD64 Condition="'$(TargetArch)' == 'amd64'">true</FeatureXPlatDacDebugging_HostOneCoreAMD64>
-    <ProfilingSupportedBuild Condition="'$(TargetsWindows)' == 'true'">true</ProfilingSupportedBuild>
+    <ProfilingSupportedBuild>true</ProfilingSupportedBuild>
     <FeatureUseAsmGCWriteBarriers>true</FeatureUseAsmGCWriteBarriers>
     <!-- Setting this to "false" works only for workstation GC, not server. -->
     <FeatureSymDiff>true</FeatureSymDiff>
@@ -99,6 +99,8 @@
 
     <FeatureStubsAsIL>true</FeatureStubsAsIL>
 
+    <ProfilingSupportedBuild>false</ProfilingSupportedBuild>
+
     <!-- UNIXTODO Enable randomized string hashing -->
     <FeatureRandomizedStringHashing>false</FeatureRandomizedStringHashing>
 
index 5005ea4..f4d1c6f 100644 (file)
@@ -696,7 +696,7 @@ int _cdecl wmain(int argc, __in_ecount(argc) WCHAR **argv)
                 if (wcscat_s(
                         wzDirectoryToStorePDB, 
                         _countof(wzDirectoryToStorePDB), 
-                        SEPARATOR_STRING_W) != 0)
+                        DIRECTORY_SEPARATOR_STR_W) != 0)
                 {
                     Output(W("Unable to parse output directory to store PDB"));
                     exit(FAILURE_RESULT);