Commit dbc4872e authored by Ghislain MARY's avatar Ghislain MARY

Fix build on Windows.

parent 05a77dbf
......@@ -19,10 +19,12 @@
#define belle_sip_parserutils_h
#include "port.h"
static inline int belle_sip_strcasecmp(const char*a,const char* b) {
static BELLESIP_INLINE int belle_sip_strcasecmp(const char*a, const char* b) {
if (!a || !b) return 0;
return strcasecmp(a,b) == 0;
}
#define IS_TOKEN(token) \
belle_sip_strcasecmp(#token,(const char*)INPUT->toStringTT(INPUT,LT(1),LT(strlen(#token)))->chars)
......
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