[all-commits] [llvm/llvm-project] 2d0475: [libcxx] locale_bionic.h: skip ndk-version.h on An...

ZijunZhaoCCK via All-commits all-commits at lists.llvm.org
Mon Apr 11 10:57:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d0475e37169bee3d969c4e4b445e86c08539769
      https://github.com/llvm/llvm-project/commit/2d0475e37169bee3d969c4e4b445e86c08539769
  Author: zijunzhao <zijunzhao at google.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M libcxx/include/__support/android/locale_bionic.h

  Log Message:
  -----------
  [libcxx] locale_bionic.h: skip ndk-version.h on Android platform

The Android platform does not have ndk-version.h, but it will always
have up-to-date libc headers, so it does not need any compatibility
code intended for past versions of NDK_MAJOR. If ndk-version.h is missing,
assume NDK_MAJOR is (conceptually) infinite

Bug: https://buganizer.corp.google.com/issues/222341313
Test: None




More information about the All-commits mailing list