spit errors if 32- AND 64-bit wordsize is defined
This commit is contained in:
		
							parent
							
								
									1f96647d70
								
							
						
					
					
						commit
						6dfb080810
					
				@ -155,6 +155,10 @@ typedef ulong32 __attribute__((__may_alias__)) LTC_FAST_TYPE;
 | 
				
			|||||||
   #define ENDIAN_NEUTRAL
 | 
					   #define ENDIAN_NEUTRAL
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if (defined(ENDIAN_32BITWORD) && defined(ENDIAN_64BITWORD))
 | 
				
			||||||
 | 
					    #error Can not be 32 and 64 bit words...
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* gcc 4.3 and up has a bswap builtin; detect it by gcc version.
 | 
					/* gcc 4.3 and up has a bswap builtin; detect it by gcc version.
 | 
				
			||||||
 * clang also supports the bswap builtin, and although clang pretends
 | 
					 * clang also supports the bswap builtin, and although clang pretends
 | 
				
			||||||
 * to be gcc (macro-wise, anyway), clang pretends to be a version
 | 
					 * to be gcc (macro-wise, anyway), clang pretends to be a version
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user