LightmassCore fails to build on the dev-vr-mac branch due to an error in LMStats.h

Hi there,

I just tried to build the Mac VR demo app. However I get a warning when I try to build UnrealLightmass scheme.
It fails with an error message in

/UnrealEngine-dev-vr-mac/Engine/Source/Programs/UnrealLightmass/Private/LightmassCore/Misc/LMStats.h

The definition in question is:


inline unsigned long long __rdtsc()

The build works if I remove the first _ but I’m not sure if that is correct, let’s see.
If somebody with more clue could have a look that would be awesome.

So long,

I’m going to issue a pull request to see if they will pull in this change. I was having the same issue.

https://github.com/EpicGames/UnrealEngine/pull/3797