mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 11:48:54 +02:00
ircd: Add portable macro for __has_builtin().
This commit is contained in:
parent
dd603f3d07
commit
6bbc78116d
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@
|
|||
|
||||
#define HAVE_IRCD_PORTABLE_H
|
||||
|
||||
//
|
||||
// For non-clang
|
||||
//
|
||||
|
||||
#ifndef __has_builtin
|
||||
#define __has_builtin(x) 0
|
||||
#endif
|
||||
|
||||
//
|
||||
// Common branch prediction macros
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue