mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
In cs_simplelink, check if MG_NET_IF is defined
PUBLISHED_FROM=20c87885c8f778139d3df20507d6870070bcc787
This commit is contained in:
1 parent
2fa988fc7b
commit
29c53082eb
1 file changed
+2
-1
+2
-1
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user