mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:20:04 +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
 | // Enable chrono formatters
 | ||||||
| #ifndef __cpp_lib_format | #ifndef __cpp_lib_format | ||||||
| #   define __cpp_lib_format 202110L | #   define __cpp_lib_format 202110L | ||||||
|  |  | ||||||
|  | @ -1,3 +1,8 @@ | ||||||
|  | // Prevent redefinition of __cpp_lib_format
 | ||||||
|  | #if defined(_MSC_VER) | ||||||
|  | #   include <yvals_core.h> | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
| // Enable chrono formatters
 | // Enable chrono formatters
 | ||||||
| #ifndef __cpp_lib_format | #ifndef __cpp_lib_format | ||||||
| #   define __cpp_lib_format 202110L | #   define __cpp_lib_format 202110L | ||||||
|  |  | ||||||
|  | @ -1,3 +1,8 @@ | ||||||
|  | // Prevent redefinition of __cpp_lib_format
 | ||||||
|  | #if defined(_MSC_VER) | ||||||
|  | #   include <yvals_core.h> | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
| // Enable chrono formatters
 | // Enable chrono formatters
 | ||||||
| #ifndef __cpp_lib_format | #ifndef __cpp_lib_format | ||||||
| #   define __cpp_lib_format 202110L | #   define __cpp_lib_format 202110L | ||||||
|  |  | ||||||
|  | @ -1,3 +1,8 @@ | ||||||
|  | // Prevent redefinition of __cpp_lib_format
 | ||||||
|  | #if defined(_MSC_VER) | ||||||
|  | #   include <yvals_core.h> | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
| // Enable chrono formatters
 | // Enable chrono formatters
 | ||||||
| #ifndef __cpp_lib_format | #ifndef __cpp_lib_format | ||||||
| #   define __cpp_lib_format 202110L | #   define __cpp_lib_format 202110L | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat