Update format.h to remove C4574 error on MSVC 14.2

Similar to the Pullrequest #539, `_SECURE_SCL` caused the same  `warning C4574: '_SECURE_SCL' is defined to be '0': did you mean to use '#if _SECURE_SCL'`.  `_SECURE_SCL` is defined in the `MSVC/14.10.25017/include/yvals.h` by Microsoft itself
This commit is contained in:
Alexander Bock 2017-07-14 14:12:38 -04:00 committed by Victor Zverovich
parent 3028344380
commit 81790d726f

View File

@ -45,7 +45,7 @@
// The fmt library version in the form major * 10000 + minor * 100 + patch. // The fmt library version in the form major * 10000 + minor * 100 + patch.
#define FMT_VERSION 40001 #define FMT_VERSION 40001
#ifdef _SECURE_SCL #if defined _SECURE_SCL && _SECURE_SCL
# define FMT_SECURE_SCL _SECURE_SCL # define FMT_SECURE_SCL _SECURE_SCL
#else #else
# define FMT_SECURE_SCL 0 # define FMT_SECURE_SCL 0