mirror of
https://github.com/electronicarts/EABase.git
synced 2026-01-18 17:11:23 +01:00
GCC supports __has_builtin starting with version 10.
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
|
||||
// EA_COMPILER_HAS_BUILTIN
|
||||
#ifndef EA_COMPILER_HAS_BUILTIN
|
||||
#if defined(__clang__)
|
||||
#if defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 10))
|
||||
#define EA_COMPILER_HAS_BUILTIN(x) __has_builtin(x)
|
||||
#else
|
||||
#define EA_COMPILER_HAS_BUILTIN(x) 0
|
||||
|
||||
Reference in New Issue
Block a user