mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-10 00:48:33 +01:00
Rename __noinline/__always_inline to prevent clash with headers.
With this change noinline can be used in ldpreload.h.
This commit is contained in:
@@ -21,14 +21,12 @@
|
||||
#define COMPILER_H 1
|
||||
|
||||
/* Prevent/force inlining. Used to improve performance. */
|
||||
#undef __noinline
|
||||
#undef __always_inline
|
||||
#ifdef HAVE___ATTRIBUTE__
|
||||
# define __noinline __attribute__((noinline))
|
||||
# define __always_inline __attribute__((always_inline))
|
||||
# define noinline __attribute__((noinline))
|
||||
# define always_inline __attribute__((always_inline))
|
||||
#else
|
||||
# define __noinline
|
||||
# define __always_inline
|
||||
# define noinline
|
||||
# define always_inline
|
||||
#endif
|
||||
|
||||
/* Branch prediction information for the compiler. */
|
||||
|
||||
Reference in New Issue
Block a user