mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Remove GCC version checks
Citra can't be compiled using GCC <7 because of required C++17 support, so these version checks don't need to exist anymore.
This commit is contained in:
		
							parent
							
								
									f409342ab5
								
							
						
					
					
						commit
						433ab35e7e
					
				
					 4 changed files with 3 additions and 25 deletions
				
			
		|  | @ -195,10 +195,8 @@ private: | |||
| }; | ||||
| #pragma pack() | ||||
| 
 | ||||
| #if (__GNUC__ >= 5) || defined(__clang__) || defined(_MSC_VER) | ||||
| static_assert(std::is_trivially_copyable<BitField<0, 1, unsigned>>::value, | ||||
|               "BitField must be trivially copyable"); | ||||
| #endif | ||||
| 
 | ||||
| template <std::size_t Position, std::size_t Bits, typename T> | ||||
| using BitFieldBE = BitField<Position, Bits, T, BETag>; | ||||
|  |  | |||
|  | @ -30,8 +30,8 @@ | |||
| #include <cstring> | ||||
| #include "common/common_types.h" | ||||
| 
 | ||||
| // GCC 4.6+
 | ||||
| #if __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) | ||||
| // GCC
 | ||||
| #ifdef __GNUC__ | ||||
| 
 | ||||
| #if __BYTE_ORDER__ && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) && !defined(COMMON_LITTLE_ENDIAN) | ||||
| #define COMMON_LITTLE_ENDIAN 1 | ||||
|  | @ -40,7 +40,7 @@ | |||
| #endif | ||||
| 
 | ||||
| // LLVM/clang
 | ||||
| #elif __clang__ | ||||
| #elif defined(__clang__) | ||||
| 
 | ||||
| #if __LITTLE_ENDIAN__ && !defined(COMMON_LITTLE_ENDIAN) | ||||
| #define COMMON_LITTLE_ENDIAN 1 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue