mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-15 19:55:47 +00:00
Fix building with gcc 4.9
This commit is contained in:
parent
d7460022ed
commit
7ee1394f2f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user