mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-14 09:48:01 +08:00
Fix miot compilation in C++ mode
PUBLISHED_FROM=42997efb3ddc462c33d2cf7e8ef0e922797d9901
This commit is contained in:
parent
7dcc94202d
commit
72f1d444d3
@ -880,7 +880,7 @@ typedef struct stat cs_stat_t;
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
/* Amalgamated: #include "mbed.h" */
|
||||
#endif
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
@ -1636,14 +1636,13 @@ int mg_strncmp(const struct mg_str str1, const struct mg_str str2, size_t n);
|
||||
#ifndef CS_COMMON_MBUF_H_
|
||||
#define CS_COMMON_MBUF_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
/* Amalgamated: #include "common/platform.h" */
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Amalgamated: #include "common/platform.h" */
|
||||
|
||||
#ifndef MBUF_SIZE_MULTIPLIER
|
||||
#define MBUF_SIZE_MULTIPLIER 1.5
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user