diff options
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 |