mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-14 20:20:43 +02:00
Add lifetimebound to attributes for general-purpose usage
Co-authored-by: practicalswift <practicalswift@users.noreply.github.com>
This commit is contained in:
parent
1d58cc7cb0
commit
e3e7446305
@ -19,4 +19,14 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
|
# if __has_attribute(lifetimebound)
|
||||||
|
# define LIFETIMEBOUND [[clang::lifetimebound]]
|
||||||
|
# else
|
||||||
|
# define LIFETIMEBOUND
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define LIFETIMEBOUND
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // BITCOIN_ATTRIBUTES_H
|
#endif // BITCOIN_ATTRIBUTES_H
|
||||||
|
Loading…
Reference in New Issue
Block a user