"_InterlockedCompareExchange": is not a member of "FWindowsPlatformAtomics"

1>c:\program files\epic games\ue_4.19\engine\source\runtime\rhi\public\RHIResources.h(63): error C2039: “_InterlockedCompareExchange”: is not a member of “FWindowsPlatformAtomics”
Can someone help me??
This error seems to be a bug.

I have seen other posts which says I should add
#include “AllowWindowsPlatformTypes.h”
#include “windows.h” // any native windows header
#include “HideWindowsPlatformTypes.h”
around any windows.h

But actually RHIResources.h is not written by me. I haven’t included any windows.h.