Added Logo

This commit is contained in:
2025-06-02 23:35:03 -04:00
parent 29f21d84d8
commit d3eba6560d
12 changed files with 255 additions and 44 deletions

View File

@@ -20,7 +20,7 @@
#ifndef FENNEC_LANG_INTRINSICS_H
#define FENNEC_LANG_INTRINSICS_H
// Most major compilers support __has_builtin
// Most major compilers support __has_builtin, notably GCC, MINGW, CLANG, and MSVC
#if defined(__has_builtin)
@@ -91,6 +91,14 @@
# define FENNEC_HAS_BUILTIN_IS_STANDARD_LAYOUT 0
#endif
// Difficult and Inconsistent without intrinsics
#if __has_builtin(__is_constructible)
# define FENNEC_BUILTIN_CAN_CONSTRUCT 1
# define FENNEC_BUILTIN_CAN_CONSTRUCT(type, args...) __is_constructible(type, args)
#else
# define FENNEC_HAS_BUILTIN_CAN_CONSTRUCT 0
#endif
// For compilers without or differently named builtins
#else