diff --git a/srtcore/channel.h b/srtcore/channel.h index ff5bc4134..121248061 100644 --- a/srtcore/channel.h +++ b/srtcore/channel.h @@ -185,6 +185,7 @@ class CChannel // This feature is not enabled on Windows, for now. // This is also turned off in case of MinGW +#ifdef SRT_ENABLE_PKTINFO bool m_bBindMasked; // True if m_BindAddr is INADDR_ANY. Need for quick check. // Calculating the required space is extremely tricky, and whereas on most @@ -290,6 +291,7 @@ class CChannel return false; } +#endif //SRT_ENABLE_PKTINFO };