diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 11:03:25 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 11:03:25 +0200 |
| commit | c8547d38a29bb4756e3351bdfa45ea72635286d8 (patch) | |
| tree | 5cdf9ad44db6f7673734febdccf89b43409a9b9c /compat | |
| parent | f47790b1ec38f27c486ad2002dac8b310933f0a4 (diff) | |
a
Diffstat (limited to 'compat')
| -rw-r--r-- | compat/integer-types.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/compat/integer-types.hpp b/compat/integer-types.hpp index 791bea64..14243e72 100644 --- a/compat/integer-types.hpp +++ b/compat/integer-types.hpp @@ -1,6 +1,11 @@ #pragma once -#ifdef __MSC_VER +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wlanguage-extension-token" +#endif + +#ifdef _MSC_VER #ifdef _WIN64 typedef unsigned __int64 size_t; typedef __int64 ptrdiff_t; @@ -51,3 +56,7 @@ using ::uint16_t; using ::uint32_t; using ::uint64_t; } // namespace std + +#ifdef __clang__ +#pragma clang diagnostic pop +#endif |
