Page MenuHomePhabricator

Android is not GNU, so don't claim that it is.

Authored by danalbert on Dec 20 2018, 1:20 PM.

Diff Detail

rC Clang

Event Timeline

danalbert created this revision.Dec 20 2018, 1:20 PM

Seems good, it could eliminate the need for a lot of preprocessor checks like #if __gnu_linux__ && !defined(__ANDROID__). It doesn't seem that there are any preprocessor checks where this would cause problems (from a quick search) since all of them seem to focus on making sure __gnu_linux__ being defined explicitly excludes Android from those paths.

srhines accepted this revision.Jan 8 2019, 1:35 PM

Sorry about the delay.

This revision is now accepted and ready to land.Jan 8 2019, 1:35 PM
This revision was automatically updated to reflect the committed changes.