Don't define ECN config value if sending ECN not possible on the platform

P4:9152019
(cherry picked from commit 5ecf4600cc)
This commit is contained in:
Fletcher Dunn
2024-08-30 17:27:31 -07:00
parent 71f675bf7f
commit dd93b5eef5
@@ -135,7 +135,7 @@ DEFINE_CONNECTON_DEFAULT_CONFIGVAL( std::string, SDRClient_DevTicket, "" );
DEFINE_CONNECTON_DEFAULT_CONFIGVAL( int32, P2P_Transport_SDR_Penalty, 0, 0, INT_MAX );
#endif
#ifdef _WIN32
#if PlatformCanSendECN()
DEFINE_GLOBAL_CONFIGVAL( int32, ECN, -1, -1, 2 );
#endif