Commit a6230baf authored by Marko Mikulicic's avatar Marko Mikulicic Committed by Cesanta Bot

Make unamalgamated build work with bazel

PUBLISHED_FROM=c6756bc74e6c25e4c120024e3ee2e3406068ad92
parent cc8f1466
...@@ -965,6 +965,8 @@ void mbuf_remove(struct mbuf *mb, size_t n) { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment