diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h index 8db4e9c6e0..c71eb075c3 100644 --- a/net/tcp/tcp.h +++ b/net/tcp/tcp.h @@ -63,7 +63,7 @@ /* Conditions for support TCP poll/select operations */ -#if !defined(CONFIG_DISABLE_POLL) 0 && defined(CONFIG_NET_TCP_READAHEAD) +#if !defined(CONFIG_DISABLE_POLL) && defined(CONFIG_NET_TCP_READAHEAD) # define HAVE_TCP_POLL #endif