From 445249ef2b7dd2e24f154980d4d63b33fc3549fa Mon Sep 17 00:00:00 2001 From: Er2 Date: Sat, 30 Dec 2023 10:34:50 +0300 Subject: [PATCH] public/tier0/platform.h: Remove __restrict not only for linux --- public/tier0/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tier0/platform.h b/public/tier0/platform.h index a8ad1b02b1..73047e1bfb 100644 --- a/public/tier0/platform.h +++ b/public/tier0/platform.h @@ -594,7 +594,7 @@ typedef void * HINSTANCE; #define FMTFUNCTION( a, b ) #elif defined(GNUC) #define SELECTANY __attribute__((weak)) - #if defined(LINUX) && !defined(DEDICATED) + #ifndef DEDICATED #define RESTRICT #else #define RESTRICT __restrict