Move 'likely' macros to the compiler support header
This makes it easier to move away from autoconfig in the future. Also, use '!!' C trick to prevent accidental incorrect usage of these macros.
This commit is contained in:
parent
cac7ba136c
commit
ff2968df3f
4 changed files with 43 additions and 11 deletions
|
@ -64,8 +64,6 @@
|
|||
#define C_DIRECTSERIAL 1
|
||||
|
||||
#define GCC_ATTRIBUTE(x) /* attribute not supported */
|
||||
#define GCC_UNLIKELY(x) (x)
|
||||
#define GCC_LIKELY(x) (x)
|
||||
|
||||
#define INLINE __forceinline
|
||||
#define DB_FASTCALL __fastcall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue