diff options
| author | arkady-e1ppa <[email protected]> | 2024-04-23 10:34:27 +0300 |
|---|---|---|
| committer | arkady-e1ppa <[email protected]> | 2024-04-23 10:44:11 +0300 |
| commit | b3463ec39aa72198a0df194f2d4a58a96e583aad (patch) | |
| tree | 2e9660dfedd9fb9d086837a62f0180514bf34bc8 /library/cpp/yt | |
| parent | 326c3bd5cf26d13a8d61522f66e2425d8f7890dc (diff) | |
Move NO_UNIQUE_ADDRESS macro to library/cpp/yt/misc/port.h
8b95cb159efca3d611ef0361a6f53a20b2fb5b37
Diffstat (limited to 'library/cpp/yt')
| -rw-r--r-- | library/cpp/yt/misc/port.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/cpp/yt/misc/port.h b/library/cpp/yt/misc/port.h index 7cfb8257087..e30e163a59f 100644 --- a/library/cpp/yt/misc/port.h +++ b/library/cpp/yt/misc/port.h @@ -69,3 +69,9 @@ #else #error Unsupported compiler #endif + +#if defined(_unix_) + #define NO_UNIQUE_ADDRESS [[no_unique_address]] +#else + #define NO_UNIQUE_ADDRESS +#endif |
