mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-24 11:58:41 +00:00
5c4ad02dd4
Remove the double underscore in front of `__has_extension` in crosvm.h. Double underscores in identifiers are reserved for the compiler's internal use and as it so happens, `__has_extension` is a macro that clang defines for code to determine whether the compiler supports a given feature. We shouldn't be using double underscores in any of the variable names in this header file but for now just fix the problematic one so that the code can actually compile under clang. BUG=b:80150167 TEST=Compile one of the test plugins with clang Change-Id: Ibb59e72c968a7f245bd6cc693da99f9263eedf33 Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1341100 Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
crosvm.h |