From 90ff31b38e68f9c2b680131bc8cbbb6c0653dac3 Mon Sep 17 00:00:00 2001 From: Elias Kosunen Date: Sun, 22 Apr 2018 18:29:29 +0300 Subject: [PATCH] Fix a -Wundef warning on clang Resolves #715 --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index e735d7ae..e66ca5df 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -131,7 +131,7 @@ # endif #endif -#if FMT_HAS_GXX_CXX11 || FMT_MSC_VER >= 1600 +#if FMT_HAS_GXX_CXX11 || FMT_HAS_FEATURE(cxx_trailing_return) || FMT_MSC_VER >= 1600 # define FMT_USE_TRAILING_RETURN 1 #endif