0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-23 20:38:20 +02:00

ircd: Add portable macro for __has_builtin().

This commit is contained in:
Jason Volk 2020-04-24 21:57:54 -07:00
parent dd603f3d07
commit 6bbc78116d

View file

@ -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
//