mirror of
				https://github.com/edubart/otclient.git
				synced 2025-11-04 12:46:22 +01:00 
			
		
		
		
	Android compilation added.
This commit is contained in:
		@@ -35,7 +35,7 @@
 | 
			
		||||
#if defined(_MSC_VER) && _MSC_VER >= 1300
 | 
			
		||||
#define swap16(data) _byteswap_ushort(data)
 | 
			
		||||
#define swap32(data) _byteswap_ulong(data)
 | 
			
		||||
#elif __linux__
 | 
			
		||||
#elif __linux__ && !defined ANDROID
 | 
			
		||||
#include <byteswap.h>
 | 
			
		||||
#define swap16(data) bswap_16(data)
 | 
			
		||||
#define swap32(data) bswap_32(data)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user