Fix c17 compilation but not having using namespace std before Windows includes, rather than defining _HAS_STD_BYTE=0

pull/1405/head
Jon Beniston 2022-09-08 16:13:43 +01:00
rodzic 86b9b69def
commit 910f1bce1c
2 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -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()

Wyświetl plik

@ -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];