mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Remove superfluous compiler check in macro
							parent
							
								
									9a0e8797b9
								
							
						
					
					
						commit
						1e3050a1df
					
				| 
						 | 
				
			
			@ -68,7 +68,7 @@ extern "C" {
 | 
			
		|||
void sleep_tracker_lock(const char *const filename, int line);
 | 
			
		||||
void sleep_tracker_unlock(const char *const filename, int line);
 | 
			
		||||
 | 
			
		||||
#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
 | 
			
		||||
#if defined(__CC_ARM)
 | 
			
		||||
#define __FILENAME__ __MODULE__
 | 
			
		||||
#elif defined(__GNUC__)
 | 
			
		||||
#define __FILENAME__ (__builtin_strrchr(__FILE__, '/') ? __builtin_strrchr(__FILE__, '/') + 1 : __builtin_strrchr(__FILE__, '\\') ? __builtin_strrchr(__FILE__, '\\') + 1 : __FILE__)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue