diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-04-05 08:24:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 08:24:28 -0700 |
commit | 86f418f0bd196ba84ab702410500271a4f8b0c33 (patch) | |
tree | e0d2fa14131785ad8ea63360ec70666c43e58db0 /src/zap/zapper.cpp | |
parent | f2aa806de27cd75fc1273ebea7f1c41a670b1f40 (diff) | |
download | coreclr-86f418f0bd196ba84ab702410500271a4f8b0c33.tar.gz coreclr-86f418f0bd196ba84ab702410500271a4f8b0c33.tar.bz2 coreclr-86f418f0bd196ba84ab702410500271a4f8b0c33.zip |
Rename conflicting definitions VER_MAJOR/MINORVERSION macros (#17364)
* Rename conflicting definitions of VER_MAJOR/MINORVERSION
These macros are defined by Windows SDK. They were overload to mean CLR version
that was causing interesting redefinition issues.
* Delete workaround for redefined Windows SDK macros
* Delete ProjectN version
* Delete dead code
Diffstat (limited to 'src/zap/zapper.cpp')
-rw-r--r-- | src/zap/zapper.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp index b7dc540e09..1b30ceb0e6 100644 --- a/src/zap/zapper.cpp +++ b/src/zap/zapper.cpp @@ -25,37 +25,6 @@ bool g_fReadyToRunCompilation; static bool s_fNGenNoMetaData; -// Event logging helper -void Zapper::ReportEventNGEN(WORD wType, DWORD dwEventID, LPCWSTR format, ...) -{ - SString s; - va_list args; - va_start(args, format); - s.VPrintf(format, args); - va_end(args); - - SString message; - message.Printf(W(".NET Runtime Optimization Service (%s) - %s"), VER_FILEVERSION_STR_L, s.GetUnicode()); - - // Note: We are using the same event log source as the ngen service. This may become problem - // if we ever want to split the ngen service from the rest of the .NET Framework. - ClrReportEvent(W(".NET Runtime Optimization Service"), - wType, // event type - 0, // category zero - dwEventID, // event identifier - NULL, // no user security identifier - message.GetUnicode()); - - // Output the message to the logger as well. - if (wType == EVENTLOG_WARNING_TYPE) - Warning(W("%s\n"), s.GetUnicode()); -} - - -/* --------------------------------------------------------------------------- * - * Private fusion entry points - * --------------------------------------------------------------------------- */ - /* --------------------------------------------------------------------------- * * Public entry points for ngen * --------------------------------------------------------------------------- */ |