diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-12-09 15:26:58 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-16 15:21:53 +0100 |
commit | 922cf977666f21c3a2b3b6ffb6fb8f40e63cb651 (patch) | |
tree | adc31b6a827c94ea45703c26aa5e96b28dd21719 /chromium/base/compiler_specific.h | |
parent | 9bfd4d52f9ce5ab1ed2fd2be3085702f7ecf4801 (diff) | |
download | qtwebengine-chromium-922cf977666f21c3a2b3b6ffb6fb8f40e63cb651.tar.gz |
Fix build with MSVC 2019 after 87 merge
Change-Id: I202e361c1fa51d8a5758d4ffacdba08d86d065cb
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'chromium/base/compiler_specific.h')
-rw-r--r-- | chromium/base/compiler_specific.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/base/compiler_specific.h b/chromium/base/compiler_specific.h index 32720a90128..22f6e190560 100644 --- a/chromium/base/compiler_specific.h +++ b/chromium/base/compiler_specific.h @@ -55,9 +55,12 @@ // prevent code folding, see base::debug::Alias. // Use like: // void NOT_TAIL_CALLED FooBar(); -#if defined(__clang__) && __has_attribute(not_tail_called) +#if defined(__clang__) +#if __has_attribute(not_tail_called) #define NOT_TAIL_CALLED __attribute__((not_tail_called)) -#else +#endif +#endif +#ifndef NOT_TAIL_CALLED #define NOT_TAIL_CALLED #endif |