mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-02 11:19:28 +00:00
windows fix for a0e9ddf58943171a9031159919e99ef20147a11e
This commit is contained in:
parent
49ee6781a5
commit
a607c20a94
@ -81,7 +81,7 @@ extern "C" {
|
|||||||
\param expr a string expression
|
\param expr a string expression
|
||||||
\return true or false
|
\return true or false
|
||||||
*/
|
*/
|
||||||
static inline int esl_true(const char *expr) {
|
static __inline__ int esl_true(const char *expr) {
|
||||||
return (expr && (!strcasecmp(expr, "yes")
|
return (expr && (!strcasecmp(expr, "yes")
|
||||||
|| !strcasecmp(expr, "on")
|
|| !strcasecmp(expr, "on")
|
||||||
|| !strcasecmp(expr, "true")
|
|| !strcasecmp(expr, "true")
|
||||||
@ -96,7 +96,7 @@ static inline int esl_true(const char *expr) {
|
|||||||
\param expr a string expression
|
\param expr a string expression
|
||||||
\return true or false
|
\return true or false
|
||||||
*/
|
*/
|
||||||
static inline int esl_false(const char *expr) {
|
static __inline__ int esl_false(const char *expr) {
|
||||||
return (expr && (!strcasecmp(expr, "no")
|
return (expr && (!strcasecmp(expr, "no")
|
||||||
|| !strcasecmp(expr, "off")
|
|| !strcasecmp(expr, "off")
|
||||||
|| !strcasecmp(expr, "false")
|
|| !strcasecmp(expr, "false")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user