From f72cf388aa865376bb64b20f84dd8778db2f4e6d 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 a8ad1b02..73047e1b 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