am 1521303f: Merge "kill OS_CASE_SENSITIVE"

* commit '1521303f0e4264c1d4ede0250620ad236d485ae0':
  kill OS_CASE_SENSITIVE
This commit is contained in:
Yabin Cui
2014-11-11 02:10:12 +00:00
committed by Android Git Automerger

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