mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 10:28:32 +00:00
chore: implement TR_CONSTEXPR23 (#7649)
This commit is contained in:
@@ -17,9 +17,11 @@
|
|||||||
#define TR_CONSTEXPR20
|
#define TR_CONSTEXPR20
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Placeholder for future use.
|
#if __cplusplus >= 202302L // _MSVC_LANG value for C++23 not available yet
|
||||||
// Can't implement right now because __cplusplus version for C++23 is currently TBD
|
#define TR_CONSTEXPR23 constexpr
|
||||||
|
#else
|
||||||
#define TR_CONSTEXPR23
|
#define TR_CONSTEXPR23
|
||||||
|
#endif
|
||||||
|
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user