1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05: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:
Jon Beniston 2022-09-08 16:13:43 +01:00
parent 86b9b69def
commit 910f1bce1c
2 changed files with 1 additions and 5 deletions

View File

@ -15,7 +15,6 @@ if(WIN32)
_USE_MATH_DEFINES
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT
_HAS_STD_BYTE=0
)
endif()

View File

@ -8,9 +8,6 @@
typedef unsigned int u32;
typedef unsigned char u8;
using namespace std;
// BB HEADER fileds
#define TS_GS_TRANSPORT 3
#define TS_GS_GENERIC_PACKETIZED 0
@ -151,7 +148,7 @@ private:
u8 m_crc_tab[256];
u8 m_dnp; // Deleted null packet
// Transport packet queue
queue <u8> m_tp_q;
std::queue <u8> m_tp_q;
// LDPC tables
const static int ldpc_tab_1_4N[45][13];