From 259a307dafb56ea06a89483381e3475b0915540f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 24 Apr 2014 15:39:20 -0700 Subject: [PATCH] Fix version check, take 2. --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index 2fff9675..c0faa26f 100644 --- a/format.h +++ b/format.h @@ -80,7 +80,7 @@ (FMT_GCC_VERSION >= 403 && __cplusplus >= 201103) || _MSC_VER >= 1600) // Don't use rvalue references when compiling with clang and an old libstdc++ // 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 # endif #endif