diff options
| author | cremno <[email protected]> | 2016-05-09 16:31:57 +0200 |
|---|---|---|
| committer | cremno <[email protected]> | 2016-05-09 16:52:57 +0200 |
| commit | 7276e84637f0abb9f4f1e709b13388aff3499663 (patch) | |
| tree | d5cb6881b351e5c70e6ef8b16d0d4ebe35781c15 /src/numeric.c | |
| parent | 39b6a9dafc942396167f905da8f4e7de3ac22229 (diff) | |
| download | mruby-7276e84637f0abb9f4f1e709b13388aff3499663.tar.gz mruby-7276e84637f0abb9f4f1e709b13388aff3499663.zip | |
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.
Diffstat (limited to 'src/numeric.c')
0 files changed, 0 insertions, 0 deletions
