diff --git a/src/coreclr/utilcode/stresslog.cpp b/src/coreclr/utilcode/stresslog.cpp index 258da86f40264e..0767907cbf30bf 100644 --- a/src/coreclr/utilcode/stresslog.cpp +++ b/src/coreclr/utilcode/stresslog.cpp @@ -35,7 +35,7 @@ thread_local bool t_triedToCreateThreadStressLog; be good enough. */ __forceinline -#ifdef TARGET_WINDOWS +#ifdef HOST_WINDOWS __declspec(naked) #else __attribute__((naked)) @@ -43,7 +43,7 @@ __attribute__((naked)) uint64_t getTimeStamp() { STATIC_CONTRACT_LEAF; -#ifdef TARGET_WINDOWS +#ifdef HOST_WINDOWS __asm { RDTSC // read time stamp counter ret