https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

            Bug ID: 101785
           Summary: Android macro is not defined for aarch64-linux-android
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

int main()
{
#if defined(__ANDROID__) || defined(__BIONIC__) || defined(ANDROID)
dgdsg;
#endif
}

aarch64-linux-android-g++ -c a.cc

compilation success. ANDROID macro is not defined

Reply via email to