mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 10:51:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			360 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			360 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| {$IFNDEF FPC_DOTTEDUNITS}
 | |
| unit syscall;
 | |
| {$ENDIF FPC_DOTTEDUNITS}
 | |
| 
 | |
| interface
 | |
| {$define FPC_USE_SYSCALL}
 | |
| 
 | |
| {$i sysnr.inc}
 | |
| {$i syscallh.inc}
 | |
| 
 | |
| implementation
 | |
| {$ifdef FPC_HAS_SETSYSNR_INC}
 | |
| {$define FPC_COMPILING_SYSCALL_UNIT}
 | |
| {$I setsysnr.inc}
 | |
| {$endif FPC_HAS_SETSYSNR_INC}
 | |
| 
 | |
| {$ifdef FPC_HAS_SETSYSNR_INC}
 | |
| begin
 | |
|   SetSyscallNumbers;
 | |
| {$endif FPC_HAS_SETSYSNR_INC}
 | |
| end.
 | 
