mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:52:44 +00:00 
			
		
		
		
	 f94293f121
			
		
	
	
		f94293f121
		
	
	
	
	
		
			
			The struct only has a stub integer so that the size is the same for C and C++. Something caught by CLion. This commit was made with mrkct's help!
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, the SerenityOS developers.
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/Platform.h>
 | |
| 
 | |
| #if ARCH(X86_64) || ARCH(I386)
 | |
| #    include <Kernel/Arch/x86/mcontext.h>
 | |
| #elif ARCH(AARCH64)
 | |
| #    include <Kernel/Arch/aarch64/mcontext.h>
 | |
| #endif
 |