diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2017-01-27 23:23:26 +0200 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2017-01-27 23:23:26 +0200 |
| commit | 98bc300d697d0c9f68abb6bb6eef978bce8e25c5 (patch) | |
| tree | 30ddba0843286f94ebc32132e6f2aceab4fdf607 /src/rustllvm/RustWrapper.cpp | |
| parent | 07fe04c1e2d66cfc351ffa69157facc7d8a819cd (diff) | |
| download | rust-98bc300d697d0c9f68abb6bb6eef978bce8e25c5.tar.gz rust-98bc300d697d0c9f68abb6bb6eef978bce8e25c5.zip | |
Use __SIZEOF_INT128__ to test __int128 presence
Previously we tested whether a handful of preprocessor variables indicating certain 64 bit platforms, but this does not work for other 64 bit targets which have support for __int128 in C compiler. Use the __SIZEOF__INT128__ preprocessor variable instead. This variable gets set to 16 by gcc and clang for every target where __int128 is supported.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
