mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-24 20:21:49 +00:00
Make unamalgamated build work with bazel
PUBLISHED_FROM=c6756bc74e6c25e4c120024e3ee2e3406068ad92
This commit is contained in:
1 parent
cc8f1466c7
commit
a6230bafe7
1 file changed
+2
@@ -965,6 +965,8 @@ void mbuf_remove(struct mbuf *mb, size_t n) {
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
int mg_ncasecmp(const char *s1, const char *s2, size_t len);
|
||||||
|
|
||||||
struct mg_str mg_mk_str(const char *s) {
|
struct mg_str mg_mk_str(const char *s) {
|
||||||
struct mg_str ret = {s, 0};
|
struct mg_str ret = {s, 0};
|
||||||
if (s != NULL) ret.len = strlen(s);
|
if (s != NULL) ret.len = strlen(s);
|
||||||
|
|||||||
Reference in new issue
Block a user