mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Fix miot-mbed compilation, part 2
PUBLISHED_FROM=bd87b901b7c1c1a4f9b0f875f0b024b672121d4a
This commit is contained in:
parent
6e88c9cfd1
commit
25de791424
@ -868,7 +868,13 @@ typedef struct stat cs_stat_t;
|
||||
#define CS_COMMON_PLATFORMS_PLATFORM_MBED_H_
|
||||
#if CS_PLATFORM == CS_P_MBED
|
||||
|
||||
/*
|
||||
* mbed.h contains C++ code (e.g. templates), thus, it should be processed
|
||||
* only if included directly to startup file (ex: main.cpp)
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
/* Amalgamated: #include "mbed.h" */
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user