mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:02:44 +00:00 
			
		
		
		
	Tests: Replace {'if' => 'ifdef'} AK_OS_EMSCRIPTEN
Our main build doesn't have -Werror-undef, so this went unnoticed.
This commit is contained in:
		
							parent
							
								
									7c93724ee0
								
							
						
					
					
						commit
						9ca41a181d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -560,7 +560,7 @@ void __assertion_failed(char const* assertion) | ||||||
|     handle_failed_assert(assertion); |     handle_failed_assert(assertion); | ||||||
| } | } | ||||||
| #else | #else | ||||||
| #    if AK_OS_EMSCRIPTEN | #    ifdef AK_OS_EMSCRIPTEN | ||||||
| extern "C" __attribute__((__noreturn__)) void __assert_fail(char const* assertion, char const* file, int line, char const* function) | extern "C" __attribute__((__noreturn__)) void __assert_fail(char const* assertion, char const* file, int line, char const* function) | ||||||
| #    else | #    else | ||||||
| extern "C" __attribute__((__noreturn__)) void __assert_fail(char const* assertion, char const* file, unsigned int line, char const* function) | extern "C" __attribute__((__noreturn__)) void __assert_fail(char const* assertion, char const* file, unsigned int line, char const* function) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ali Mohammad Pur
						Ali Mohammad Pur