mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:50:05 +00:00
Fix redefinition errors with latest MSVC compiler
This commit is contained in:
parent
92800a2d36
commit
b06b80cbaa
4 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue