commit | fb8e2b17452b8205d2d5cf516553ba80407c0ab1 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Nov 10 15:01:43 2014 -0800 |
committer | Yabin Cui <yabinc@google.com> | Mon Nov 10 16:08:50 2014 -0800 |
tree | dd3c52435a67c248e44e24ae3c1fde383513803e | |
parent | 189bf05616b854f0319c7329a96e63ad374fd6c0 [diff] [blame] |
kill OS_CASE_SENSITIVE Bug: 18314594 Change-Id: Ib11b45d2597b2576bc7df2d0167ce1bbd1449523
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp index 45dd23b..14c9f95 100644 --- a/tools/aidl/aidl.cpp +++ b/tools/aidl/aidl.cpp
@@ -228,7 +228,8 @@ } #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);