From 55b5a6a327f83be73b744491eb67abcb9f2b04e4 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 e735d7ae7fa2..e66ca5dfe76a 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