Fix WCHAR definition on non-Windows for nativeaot (#87465)
authorElinor Fung <elfung@microsoft.com>
Tue, 13 Jun 2023 15:47:43 +0000 (08:47 -0700)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 15:47:43 +0000 (08:47 -0700)
commit32440e59f7363f9ce8d31ae40523b09de9bccada
tree96c8e321a892a8c8658eb965a3f86226595dbbbe
parent94a120878bdb014b0401e47e3a5a01d9a9b25bb1
Fix WCHAR definition on non-Windows for nativeaot (#87465)

This fixes enabling of runtime events on non-Windows. The GC events that don't go
through ETW::GCLog are now fired/collected on non-Windows.

There is still work needed to pull in the ETW::GCLog implementation on non-Windows
src/coreclr/nativeaot/Runtime/clretwallmain.h
src/coreclr/nativeaot/Runtime/clreventpipewriteevents.h
src/coreclr/nativeaot/Runtime/eventpipe/dotnetruntime.cpp
src/coreclr/nativeaot/Runtime/gctoclreventsink.cpp
src/coreclr/nativeaot/Runtime/inc/CommonTypes.h
src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp