diff options
author | agri <[email protected]> | 2022-02-10 16:48:12 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:12 +0300 |
commit | 2909866fbc652492b7d7cab3023cb19489dc4fd8 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/system/compiler.h | |
parent | d3530b2692e400bd4d29bd4f07cafaee139164e7 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/compiler.h')
-rw-r--r-- | util/system/compiler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/compiler.h b/util/system/compiler.h index cec05dd024a..b373edcc466 100644 --- a/util/system/compiler.h +++ b/util/system/compiler.h @@ -319,7 +319,7 @@ _YandexAbort(); #else #define Y_CUDA_AT_LEAST(x, y) 0 #endif - + // NVidia CUDA C++ Compiler did not know about noexcept keyword until version 9.0 #if !Y_CUDA_AT_LEAST(9, 0) #if defined(__CUDACC__) && !defined(noexcept) @@ -327,15 +327,15 @@ _YandexAbort(); #endif #endif -#if defined(__GNUC__) +#if defined(__GNUC__) #define Y_COLD __attribute__((cold)) #define Y_LEAF __attribute__((leaf)) #define Y_WRAPPER __attribute__((artificial)) -#else +#else #define Y_COLD #define Y_LEAF #define Y_WRAPPER -#endif +#endif /** * @def Y_PRAGMA |