Compile fix for Mac

This commit is contained in:
Alexander Bock 2017-07-06 17:35:31 -04:00 committed by GitHub
parent eb090b3b01
commit 7d3cec5106

View File

@ -120,7 +120,7 @@ typedef __int64 intmax_t;
#endif #endif
// GLM defines __has_feature to '0' which causes MSVC to throw C4574 // GLM defines __has_feature to '0' which causes MSVC to throw C4574
#if defined(__has_feature) && __has_feature #if (defined(__has_feature) && (__has_feature))
# define FMT_HAS_FEATURE(x) __has_feature(x) # define FMT_HAS_FEATURE(x) __has_feature(x)
#else #else
# define FMT_HAS_FEATURE(x) 0 # define FMT_HAS_FEATURE(x) 0