mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	Fix building with gcc 4.9
This commit is contained in:
		| @@ -31,7 +31,6 @@ | ||||
|  | ||||
| #include "unpack_2bit_samples.h" | ||||
| #include <gnuradio/io_signature.h> | ||||
| #include <array> | ||||
|  | ||||
| struct byte_2bit_struct | ||||
| { | ||||
| @@ -54,7 +53,7 @@ bool systemIsBigEndian() | ||||
|     union | ||||
|     { | ||||
|         uint32_t i; | ||||
|         std::array<char, 4> c{}; | ||||
|         char c[4]; | ||||
|     } test_int = {0x01020304}; | ||||
|  | ||||
|     return test_int.c[0] == 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez