Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb8e2b17 authored by Yabin Cui's avatar Yabin Cui
Browse files

kill OS_CASE_SENSITIVE

Bug: 18314594
Change-Id: Ib11b45d2597b2576bc7df2d0167ce1bbd1449523
parent 189bf056
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -228,7 +228,8 @@ check_filename(const char* filename, const char* package, buffer_type* name)
        }
#endif

#ifdef OS_CASE_SENSITIVE
        // aidl assumes case-insensitivity on Mac Os and Windows.
#if defined(__linux__)
        valid = (expected == p);
#else
        valid = !strcasecmp(expected.c_str(), p);