Commit 29c53082 authored by Dmitry Frank's avatar Dmitry Frank Committed by Cesanta Bot

In cs_simplelink, check if MG_NET_IF is defined

PUBLISHED_FROM=20c87885c8f778139d3df20507d6870070bcc787
parent 2fa988fc
...@@ -1088,7 +1088,8 @@ int gettimeofday(struct timeval *tp, void *tzp); ...@@ -1088,7 +1088,8 @@ int gettimeofday(struct timeval *tp, void *tzp);
#define CS_COMMON_PLATFORMS_SIMPLELINK_CS_SIMPLELINK_H_ #define CS_COMMON_PLATFORMS_SIMPLELINK_CS_SIMPLELINK_H_
/* If simplelink.h is already included, all bets are off. */ /* If simplelink.h is already included, all bets are off. */
#if MG_NET_IF == MG_NET_IF_SIMPLELINK && !defined(__SIMPLELINK_H__) #if defined(MG_NET_IF) && MG_NET_IF == MG_NET_IF_SIMPLELINK && \
!defined(__SIMPLELINK_H__)
#include <stdbool.h> #include <stdbool.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment