mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Set MINIZ_LITTLE_ENDIAN only if not set
This commit is contained in:
		
							
								
								
									
										3
									
								
								miniz.h
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								miniz.h
									
									
									
									
									
								
							| @@ -161,12 +161,15 @@ | |||||||
| #define MINIZ_X86_OR_X64_CPU 0 | #define MINIZ_X86_OR_X64_CPU 0 | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | /* Set MINIZ_LITTLE_ENDIAN only if not set */ | ||||||
|  | #if !defined(MINIZ_LITTLE_ENDIAN) | ||||||
| #if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || MINIZ_X86_OR_X64_CPU | #if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || MINIZ_X86_OR_X64_CPU | ||||||
| /* Set MINIZ_LITTLE_ENDIAN to 1 if the processor is little endian. */ | /* Set MINIZ_LITTLE_ENDIAN to 1 if the processor is little endian. */ | ||||||
| #define MINIZ_LITTLE_ENDIAN 1 | #define MINIZ_LITTLE_ENDIAN 1 | ||||||
| #else | #else | ||||||
| #define MINIZ_LITTLE_ENDIAN 0 | #define MINIZ_LITTLE_ENDIAN 0 | ||||||
| #endif | #endif | ||||||
|  | #endif | ||||||
|  |  | ||||||
| /* Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES only if not set */ | /* Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES only if not set */ | ||||||
| #if !defined(MINIZ_USE_UNALIGNED_LOADS_AND_STORES) | #if !defined(MINIZ_USE_UNALIGNED_LOADS_AND_STORES) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user