mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:12:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			541 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			541 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- zstd-1.4.4/programs/platform.h.orig	Sat Mar 14 15:22:06 2020
 | |
| +++ zstd-1.4.4/programs/platform.h	Sat Mar 14 15:22:41 2020
 | |
| @@ -97,7 +97,11 @@
 | |
|  #    endif
 | |
|  #    include <unistd.h>  /* declares _POSIX_VERSION */
 | |
|  #    if defined(_POSIX_VERSION)  /* POSIX compliant */
 | |
| -#      define PLATFORM_POSIX_VERSION _POSIX_VERSION
 | |
| +#      if defined(__serenity__)
 | |
| +#        define PLATFORM_POSIX_VERSION 1
 | |
| +#      else
 | |
| +#        define PLATFORM_POSIX_VERSION _POSIX_VERSION
 | |
| +#      endif
 | |
|  #    else
 | |
|  #      define PLATFORM_POSIX_VERSION 1
 | |
|  #    endif
 | 
