2021-03-22 18:10:27 +01:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
|
|
|
// Copyright (c) 2009-2018 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_ATTRIBUTES_H
|
|
|
|
#define BITCOIN_ATTRIBUTES_H
|
|
|
|
|
2020-06-26 19:21:13 +02:00
|
|
|
#if defined(__clang__)
|
|
|
|
# if __has_attribute(lifetimebound)
|
|
|
|
# define LIFETIMEBOUND [[clang::lifetimebound]]
|
|
|
|
# else
|
|
|
|
# define LIFETIMEBOUND
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# define LIFETIMEBOUND
|
|
|
|
#endif
|
|
|
|
|
2021-03-22 18:10:27 +01:00
|
|
|
#endif // BITCOIN_ATTRIBUTES_H
|