Fix version check, take 2.

This commit is contained in:
Victor Zverovich 2014-04-24 15:39:20 -07:00
parent daaa314aac
commit 259a307daf

View File

@ -80,7 +80,7 @@
(FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600) (FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600)
// Don't use rvalue references when compiling with clang and an old libstdc++ // Don't use rvalue references when compiling with clang and an old libstdc++
// as the latter doesn't provide std::move. // as the latter doesn't provide std::move.
# if FMT_GNUC_LIBSTD_VERSION <= 402 # if defined(FMT_GNUC_LIBSTD_VERSION) && FMT_GNUC_LIBSTD_VERSION <= 402
# define FMT_USE_RVALUE_REFERENCES 0 # define FMT_USE_RVALUE_REFERENCES 0
# endif # endif
#endif #endif