This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use type-generic checked arithmetic builtins
Version checking is not reliable - especially with Clang. E.g. Apple's Clang (Xcode) uses different version numbers. A feature check (__has_builtin) is the recommened way. Add the MRB_HAVE_TYPE_GENERIC_CHECKED_ARITHMETIC_BUILTINS macro which may be used in other files.
- Loading branch information
Showing 1 changed file with 21 additions and 27 deletions.