Page MenuHomePhabricator

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

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

Diff Detail

Repository
rC Clang

Event Timeline

danalbert created this revision.Thu, Dec 20, 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.Tue, Jan 8, 1:35 PM

Sorry about the delay.

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