mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 07:37:52 +00:00
common: remove FORCEINLINE and NOINLINE macros, we don't use them in engine
This commit is contained in:
parent
119926805f
commit
95a75465c9
@ -86,8 +86,6 @@ typedef uint64_t longtime_t;
|
|||||||
#define NORETURN __attribute__((noreturn))
|
#define NORETURN __attribute__((noreturn))
|
||||||
#define NONNULL __attribute__((nonnull))
|
#define NONNULL __attribute__((nonnull))
|
||||||
#define ALLOC_CHECK(x) __attribute__((alloc_size(x)))
|
#define ALLOC_CHECK(x) __attribute__((alloc_size(x)))
|
||||||
#define FORCEINLINE inline __attribute__((always_inline))
|
|
||||||
#define NOINLINE __attribute__((noinline))
|
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
#define EXPORT __declspec( dllexport )
|
#define EXPORT __declspec( dllexport )
|
||||||
#define GAME_EXPORT
|
#define GAME_EXPORT
|
||||||
@ -95,8 +93,6 @@ typedef uint64_t longtime_t;
|
|||||||
#define NORETURN
|
#define NORETURN
|
||||||
#define NONNULL
|
#define NONNULL
|
||||||
#define ALLOC_CHECK(x)
|
#define ALLOC_CHECK(x)
|
||||||
#define FORCEINLINE __forceinline
|
|
||||||
#define NOINLINE __declspec( noinline )
|
|
||||||
#else
|
#else
|
||||||
#define EXPORT
|
#define EXPORT
|
||||||
#define GAME_EXPORT
|
#define GAME_EXPORT
|
||||||
@ -104,8 +100,6 @@ typedef uint64_t longtime_t;
|
|||||||
#define NORETURN
|
#define NORETURN
|
||||||
#define NONNULL
|
#define NONNULL
|
||||||
#define ALLOC_CHECK(x)
|
#define ALLOC_CHECK(x)
|
||||||
#define FORCEINLINE
|
|
||||||
#define NOINLINE
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ( __GNUC__ >= 3 )
|
#if ( __GNUC__ >= 3 )
|
||||||
|
Loading…
Reference in New Issue
Block a user