From 27819e373b21f913160dea389c699e24b09fad36 Mon Sep 17 00:00:00 2001 From: Adeel <3840695+am11@users.noreply.github.com> Date: Thu, 30 May 2024 05:45:23 +0300 Subject: [PATCH] fix --- src/coreclr/utilcode/stresslog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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