mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Enable variadic macros support for MSVS 2005 as it has them
Fix the test for MSVC version: variadic macros support is available since MSVS 2005, a.k.a. MSVC 8, using _MSC_VER=1400.
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							c32f275a00
						
					
				
				
					commit
					64a533551d
				
			@@ -163,7 +163,7 @@
 | 
				
			|||||||
////////////////////////////////////////////////////////////////////////////////
 | 
					////////////////////////////////////////////////////////////////////////////////
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Use variadic macros if the compiler supports them
 | 
					// Use variadic macros if the compiler supports them
 | 
				
			||||||
#if ( defined _MSC_VER && _MSC_VER > 1400 && !defined __EDGE__) || \
 | 
					#if ( defined _MSC_VER && _MSC_VER >= 1400 && !defined __EDGE__) || \
 | 
				
			||||||
    ( defined __WAVE__ && __WAVE_HAS_VARIADICS ) || \
 | 
					    ( defined __WAVE__ && __WAVE_HAS_VARIADICS ) || \
 | 
				
			||||||
    ( defined __GNUC__ && __GNUC__ >= 3 ) || \
 | 
					    ( defined __GNUC__ && __GNUC__ >= 3 ) || \
 | 
				
			||||||
    ( !defined __cplusplus && __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L )
 | 
					    ( !defined __cplusplus && __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user