зеркало из https://github.com/microsoft/msquic.git
static_assert expects its string to be normal
This commit is contained in:
Родитель
fda5f45abf
Коммит
73ac2579d1
|
@ -240,10 +240,10 @@ typedef struct QUIC_RX_PACKET QUIC_RX_PACKET;
|
|||
#define QUIC_MAX_RANGE_ACK_PACKETS 0x800 // 2048
|
||||
#define QUIC_MAX_RANGE_DECODE_ACKS 0x1000 // 4096
|
||||
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_ALLOC_SIZE), L"Must be power of two");
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_DUPLICATE_PACKETS), L"Must be power of two");
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_ACK_PACKETS), L"Must be power of two");
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_DECODE_ACKS), L"Must be power of two");
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_ALLOC_SIZE), "Must be power of two");
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_DUPLICATE_PACKETS), "Must be power of two");
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_ACK_PACKETS), "Must be power of two");
|
||||
CXPLAT_STATIC_ASSERT(IS_POWER_OF_TWO(QUIC_MAX_RANGE_DECODE_ACKS), "Must be power of two");
|
||||
|
||||
//
|
||||
// Minimum MTU allowed to be configured. Must be able to fit a
|
||||
|
|
Загрузка…
Ссылка в новой задаче