Merge branch 'Red-Portal-patch-1' of https://github.com/Red-Portal/nana into Red-Portal-Red-Portal-patch-1
This commit is contained in:
commit
8b3589c493
@ -195,6 +195,8 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// std::clamp's feature test macro is defined inside <algorithm>
|
||||||
|
#include <algorithm>
|
||||||
#if (!defined(__cpp_lib_clamp)) || (__cpp_lib_clamp < 201603)
|
#if (!defined(__cpp_lib_clamp)) || (__cpp_lib_clamp < 201603)
|
||||||
# ifndef _enable_std_clamp
|
# ifndef _enable_std_clamp
|
||||||
# define _enable_std_clamp
|
# define _enable_std_clamp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user