Merge pull request #328 from er2off/restrictfix

public/tier0/platform.h: Remove __restrict not only for linux
This commit is contained in:
nillerusr 2023-12-30 11:43:48 +03:00 committed by GitHub
commit 53cb673849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -594,7 +594,7 @@ typedef void * HINSTANCE;
#define FMTFUNCTION( a, b ) #define FMTFUNCTION( a, b )
#elif defined(GNUC) #elif defined(GNUC)
#define SELECTANY __attribute__((weak)) #define SELECTANY __attribute__((weak))
#if defined(LINUX) && !defined(DEDICATED) #ifndef DEDICATED
#define RESTRICT #define RESTRICT
#else #else
#define RESTRICT __restrict #define RESTRICT __restrict