mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	catch_compiler_capabilities.h: use proper math define
C++11 math requires _GLIBCXX_USE_C99_MATH_TR1 to be true with gcc/clang. Also fixes an issue with uClibc-ng where __UCLIBC__ is defined in features.h but that is not included here and is thus no-op.
This commit is contained in:
		@@ -203,7 +203,7 @@
 | 
				
			|||||||
    #define CATCH_CONFIG_COLOUR_NONE
 | 
					    #define CATCH_CONFIG_COLOUR_NONE
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(__UCLIBC__)
 | 
					#if !defined(_GLIBCXX_USE_C99_MATH_TR1)
 | 
				
			||||||
#define CATCH_INTERNAL_CONFIG_GLOBAL_NEXTAFTER
 | 
					#define CATCH_INTERNAL_CONFIG_GLOBAL_NEXTAFTER
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user