mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #1576 from smspillaz/fix-build-errors-03272016
Fix various build errors encountered on Clang 3.9 on OS X
This commit is contained in:
		
						commit
						0964a3ff53
					
				
					 9 changed files with 29 additions and 9 deletions
				
			
		|  | @ -39,6 +39,7 @@ static void assert_noinline_call(const Fn& fn) { | |||
|     }); } while (0) | ||||
| 
 | ||||
| #define UNREACHABLE() ASSERT_MSG(false, "Unreachable code!") | ||||
| #define UNREACHABLE_MSG(_a_, ...) ASSERT_MSG(false, _a_, __VA_ARGS__) | ||||
| 
 | ||||
| #ifdef _DEBUG | ||||
| #define DEBUG_ASSERT(_a_) ASSERT(_a_) | ||||
|  | @ -49,3 +50,4 @@ static void assert_noinline_call(const Fn& fn) { | |||
| #endif | ||||
| 
 | ||||
| #define UNIMPLEMENTED() DEBUG_ASSERT_MSG(false, "Unimplemented code!") | ||||
| #define UNIMPLEMENTED_MSG(_a_, ...) ASSERT_MSG(false, _a_, __VA_ARGS__) | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue