summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-05-07 12:41:45 -0700
committerJan Kotas <jkotas@microsoft.com>2015-05-07 12:41:45 -0700
commit70bf81147948831423744088a64ea35028cf436b (patch)
treeb2c2320cac7e746397e82d8d78845ae8be6b51f9 /src/tools
parent484a2cf0b0c4e304a5093ec26e07fe41f8896c3c (diff)
downloadcoreclr-70bf81147948831423744088a64ea35028cf436b.tar.gz
coreclr-70bf81147948831423744088a64ea35028cf436b.tar.bz2
coreclr-70bf81147948831423744088a64ea35028cf436b.zip
Enable crossgen CreatePDB for desktop
[tfs-changeset: 1466606]
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/crossgen/crossgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/crossgen/crossgen.cpp b/src/tools/crossgen/crossgen.cpp
index f4d1c6f6de..3bf729f105 100644
--- a/src/tools/crossgen/crossgen.cpp
+++ b/src/tools/crossgen/crossgen.cpp
@@ -186,13 +186,13 @@ void PrintUsageHelper()
#ifdef FEATURE_CORECLR
W(" Size on Disk Parameters\n")
W(" /NoMetaData - Do not copy metadata and IL into native image.\n")
+#endif // FEATURE_CORECLR
#ifndef NO_NGENPDB
W(" Debugging Parameters\n")
W(" /CreatePDB <Dir to store PDB> [/lines [<search path for managed PDB>] ]\n")
W(" When specifying /CreatePDB, the native image should be created\n")
W(" first, and <assembly name> should be the path to the NI.")
#endif // NO_NGENPDB
-#endif // FEATURE_CORECLR
);
}
@@ -665,7 +665,7 @@ int _cdecl wmain(int argc, __in_ecount(argc) WCHAR **argv)
argc--;
}
#endif // FEATURE_COMINTEROP
-#if defined(FEATURE_CORECLR) && !defined(NO_NGENPDB)
+#ifndef NO_NGENPDB
else if (MatchParameter(*argv, W("CreatePDB")) && (argc > 1))
{
// syntax: /CreatePDB <directory to store PDB> [/lines [<search path for managed PDB>] ]
@@ -737,7 +737,7 @@ int _cdecl wmain(int argc, __in_ecount(argc) WCHAR **argv)
argv--;
argc++;
}
-#endif // FEATURE_CORECLR && !NO_NGENPDB
+#endif // !NO_NGENPDB
else
{
if (argc == 1)