headers: Avoid builtin clash with _xgetbv in Clang 9

Clang 9 adds _xgetbv for non-msvc targets, by adding a builtin
named __builtin_ia32_xgetbv and a define in a header redirecting
_xgetbv to __builtin_ia32_xgetbv. The define redirection breaks
the intrin-impl.h code already on the prototype.

Signed-off-by: Martin Storsjö <martin@...>

Upstream URL:
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/8b2c7826b8d68e2ffc79c286b8792efe4168f666/

Change-Id: I6d16ba5f5bb9963ae1bb5b1f1eba87cedb372787
1 file changed
tree: 94c92bf1ab7740126000b79f588165e10d128315
  1. mingw-w64-v5.0.0/
  2. mingw-w64-v6.x/
  3. build.sh
  4. README.md
  5. README.version
README.md

Building Mingw for Android

The build.sh script in this directory is used to build mingw for Android.

Mingw is built from the mingw branch of AOSP. To fetch the sources:

repo init -u https://android.googlesource.com/platform/manifest -b mingw

# Googlers, use
repo init -u \
    persistent-https://android.git.corp.google.com/platform/manifest -b mingw

To build, run build.sh. Run with --help for a list of options.