]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
windows fix for a0e9ddf58943171a9031159919e99ef20147a11e
authorJeff Lenk <jeff@jefflenk.com>
Sun, 8 Jun 2014 21:06:32 +0000 (16:06 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Sun, 8 Jun 2014 21:06:32 +0000 (16:06 -0500)
libs/esl/src/include/esl_config.h

index 34c67ca21990b72d8d60c5dc8988f9f7ee1d280a..03bbe9719be3ab6dd4701f3cbb07628e928154b8 100644 (file)
@@ -81,7 +81,7 @@ extern "C" {
   \param expr a string expression
   \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")
                                         || !strcasecmp(expr, "on")
                                         || !strcasecmp(expr, "true")
@@ -96,7 +96,7 @@ static inline int esl_true(const char *expr) {
   \param expr a string expression
   \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")
                                         || !strcasecmp(expr, "off")
                                         || !strcasecmp(expr, "false")