From 95a75465c9a7cd55a33dd462a1b6e88b9aaeef4c Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 22 Feb 2024 15:43:37 +0300 Subject: [PATCH] common: remove FORCEINLINE and NOINLINE macros, we don't use them in engine --- common/xash3d_types.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/xash3d_types.h b/common/xash3d_types.h index 41c570f6..7eec99ba 100644 --- a/common/xash3d_types.h +++ b/common/xash3d_types.h @@ -86,8 +86,6 @@ typedef uint64_t longtime_t; #define NORETURN __attribute__((noreturn)) #define NONNULL __attribute__((nonnull)) #define ALLOC_CHECK(x) __attribute__((alloc_size(x))) - #define FORCEINLINE inline __attribute__((always_inline)) - #define NOINLINE __attribute__((noinline)) #elif defined(_MSC_VER) #define EXPORT __declspec( dllexport ) #define GAME_EXPORT @@ -95,8 +93,6 @@ typedef uint64_t longtime_t; #define NORETURN #define NONNULL #define ALLOC_CHECK(x) - #define FORCEINLINE __forceinline - #define NOINLINE __declspec( noinline ) #else #define EXPORT #define GAME_EXPORT @@ -104,8 +100,6 @@ typedef uint64_t longtime_t; #define NORETURN #define NONNULL #define ALLOC_CHECK(x) - #define FORCEINLINE - #define NOINLINE #endif #if ( __GNUC__ >= 3 )