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:
Jinhao 2017-07-02 04:58:03 +08:00
commit 8b3589c493

View File

@ -195,6 +195,8 @@
# endif
#endif
// std::clamp's feature test macro is defined inside <algorithm>
#include <algorithm>
#if (!defined(__cpp_lib_clamp)) || (__cpp_lib_clamp < 201603)
# ifndef _enable_std_clamp
# define _enable_std_clamp