Add comments to the #else and #endifs to make it clearer to what #ifdef they belong.

This commit is contained in:
Adam Dunkels 2013-12-18 08:35:35 +01:00
parent 9e8733e57a
commit c8c7c4ae3a

View file

@ -481,9 +481,9 @@ void uip_log(char *msg);
#error UIP_CONF_TCP_MSS is too large for the current UIP_BUFSIZE #error UIP_CONF_TCP_MSS is too large for the current UIP_BUFSIZE
#endif /* UIP_CONF_TCP_MSS > (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN) */ #endif /* UIP_CONF_TCP_MSS > (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN) */
#define UIP_TCP_MSS (UIP_CONF_TCP_MSS) #define UIP_TCP_MSS (UIP_CONF_TCP_MSS)
#else #else /* UIP_CONF_TCP_MSS */
#define UIP_TCP_MSS (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN) #define UIP_TCP_MSS (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN)
#endif #endif /* UIP_CONF_TCP_MSS */
/** /**
* The size of the advertised receiver's window. * The size of the advertised receiver's window.