kill OS_CASE_SENSITIVE

Bug: 18314594
Change-Id: Ib11b45d2597b2576bc7df2d0167ce1bbd1449523
This commit is contained in:
Yabin Cui
2014-11-10 15:01:43 -08:00
parent 189bf05616
commit fb8e2b1745

View File

@@ -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);