mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 02:15:42 +01:00 
			
		
		
		
	Merge "fix missing __BIG_ENDIAN__ definition on some platform"
This commit is contained in:
		| @@ -86,6 +86,12 @@ extern "C" { | |||||||
|  |  | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | // some endian fix (e.g.: mips-gcc doesn't define __BIG_ENDIAN__) | ||||||
|  | #if !defined(__BIG_ENDIAN__) && defined(__BYTE_ORDER__) && \ | ||||||
|  |     (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) | ||||||
|  | #define __BIG_ENDIAN__ | ||||||
|  | #endif | ||||||
|  |  | ||||||
| //------------------------------------------------------------------------------ | //------------------------------------------------------------------------------ | ||||||
| // Derived types and constants | // Derived types and constants | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user