[PATCH] D22244: Android: Conditionally enable long-double math.h inline overloads

Dave Lee via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 16:28:23 PDT 2016


kastiglione created this revision.
kastiglione added reviewers: danalbert, compnerd.
kastiglione added a subscriber: llvm-commits.
Herald added subscribers: srhines, danalbert, tberghammer.

On android, many of the math function overloads for `long double` are available starting with API level 21[1]. This change makes those `long double` overloads conditional on `__ANDROID_API__` being at 21 or newer. In a couple of cases, the function was first available with API level 18, and those have been adjusted as well.

1. https://android.googlesource.com/platform/bionic/+/master/libc/include/math.h

http://reviews.llvm.org/D22244

Files:
  include/math.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22244.63608.patch
Type: text/x-patch
Size: 15914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160711/29f465bf/attachment.bin>


More information about the llvm-commits mailing list