Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
72f1d444
Commit
72f1d444
authored
Dec 13, 2016
by
Alexander Alashkin
Committed by
Cesanta Bot
Dec 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix miot compilation in C++ mode
PUBLISHED_FROM=42997efb3ddc462c33d2cf7e8ef0e922797d9901
parent
7dcc9420
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
mongoose.h
mongoose.h
+4
-5
No files found.
mongoose.h
View file @
72f1d444
...
@@ -880,7 +880,7 @@ typedef struct stat cs_stat_t;
...
@@ -880,7 +880,7 @@ typedef struct stat cs_stat_t;
*/
*/
#ifdef __cplusplus
#ifdef __cplusplus
/* Amalgamated: #include "mbed.h" */
/* Amalgamated: #include "mbed.h" */
#endif
#endif
/* __cplusplus */
#include <assert.h>
#include <assert.h>
#include <ctype.h>
#include <ctype.h>
...
@@ -1636,14 +1636,13 @@ int mg_strncmp(const struct mg_str str1, const struct mg_str str2, size_t n);
...
@@ -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_
#ifndef CS_COMMON_MBUF_H_
#define CS_COMMON_MBUF_H_
#define CS_COMMON_MBUF_H_
#include <stdlib.h>
/* Amalgamated: #include "common/platform.h" */
#if defined(__cplusplus)
#if defined(__cplusplus)
extern
"C"
{
extern
"C"
{
#endif
#endif
#include <stdlib.h>
/* Amalgamated: #include "common/platform.h" */
#ifndef MBUF_SIZE_MULTIPLIER
#ifndef MBUF_SIZE_MULTIPLIER
#define MBUF_SIZE_MULTIPLIER 1.5
#define MBUF_SIZE_MULTIPLIER 1.5
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment