Fix redefinition errors with latest MSVC compiler

This commit is contained in:
Dan Paulat 2023-11-17 05:50:58 -06:00
parent 92800a2d36
commit b06b80cbaa
4 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,8 @@
// Prevent redefinition of __cpp_lib_format
#if defined(_MSC_VER)
# include <yvals_core.h>
#endif
// Enable chrono formatters
#ifndef __cpp_lib_format
# define __cpp_lib_format 202110L

View file

@ -1,3 +1,8 @@
// Prevent redefinition of __cpp_lib_format
#if defined(_MSC_VER)
# include <yvals_core.h>
#endif
// Enable chrono formatters
#ifndef __cpp_lib_format
# define __cpp_lib_format 202110L

View file

@ -1,3 +1,8 @@
// Prevent redefinition of __cpp_lib_format
#if defined(_MSC_VER)
# include <yvals_core.h>
#endif
// Enable chrono formatters
#ifndef __cpp_lib_format
# define __cpp_lib_format 202110L

View file

@ -1,3 +1,8 @@
// Prevent redefinition of __cpp_lib_format
#if defined(_MSC_VER)
# include <yvals_core.h>
#endif
// Enable chrono formatters
#ifndef __cpp_lib_format
# define __cpp_lib_format 202110L