mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-04 22:27:53 -04:00
Fix c17 compilation but not having using namespace std before Windows includes, rather than defining _HAS_STD_BYTE=0
This commit is contained in:
parent
86b9b69def
commit
910f1bce1c
@ -15,7 +15,6 @@ if(WIN32)
|
|||||||
_USE_MATH_DEFINES
|
_USE_MATH_DEFINES
|
||||||
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
|
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
|
||||||
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT
|
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT
|
||||||
_HAS_STD_BYTE=0
|
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -8,9 +8,6 @@
|
|||||||
typedef unsigned int u32;
|
typedef unsigned int u32;
|
||||||
typedef unsigned char u8;
|
typedef unsigned char u8;
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
// BB HEADER fileds
|
// BB HEADER fileds
|
||||||
#define TS_GS_TRANSPORT 3
|
#define TS_GS_TRANSPORT 3
|
||||||
#define TS_GS_GENERIC_PACKETIZED 0
|
#define TS_GS_GENERIC_PACKETIZED 0
|
||||||
@ -151,7 +148,7 @@ private:
|
|||||||
u8 m_crc_tab[256];
|
u8 m_crc_tab[256];
|
||||||
u8 m_dnp; // Deleted null packet
|
u8 m_dnp; // Deleted null packet
|
||||||
// Transport packet queue
|
// Transport packet queue
|
||||||
queue <u8> m_tp_q;
|
std::queue <u8> m_tp_q;
|
||||||
|
|
||||||
// LDPC tables
|
// LDPC tables
|
||||||
const static int ldpc_tab_1_4N[45][13];
|
const static int ldpc_tab_1_4N[45][13];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user