• Frank Barchard's avatar
    mingw fix ifdefs to use gcc source · 8fa02df3
    Frank Barchard authored
    mingw gcc sets the macro _M_IX86 which is normally only set
    by Visual C and clangcl which are Visual C style source code
    style for assembly, but gcc is not Visual C compatible.
    Add _MSC_VER to most ifdefs to detect that its really Visual C
    or clangcl and not mingw gcc so the gcc source code will be used.
    
    Bug: libyuv:744
    Test: CXXFLAGS=-m32 CXX=~/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/bin/x86_64-w64-mingw32-g++ make -f linux.mk
    Change-Id: I3431aa486eb769b145faa8d5eb75ed639f9d6f5e
    Reviewed-on: https://chromium-review.googlesource.com/722319Reviewed-by: 's avatarCheng Wang <wangcheng@google.com>
    Commit-Queue: Frank Barchard <fbarchard@google.com>
    8fa02df3
Name
Last commit
Last update
build_overrides Loading commit data...
docs Loading commit data...
include Loading commit data...
infra/config Loading commit data...
source Loading commit data...
tools_libyuv Loading commit data...
unit_test Loading commit data...
util Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
AUTHORS Loading commit data...
Android.mk Loading commit data...
BUILD.gn Loading commit data...
CM_linux_packages.cmake Loading commit data...
CMakeLists.txt Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE_THIRD_PARTY Loading commit data...
OWNERS Loading commit data...
PATENTS Loading commit data...
PRESUBMIT.py Loading commit data...
README.chromium Loading commit data...
README.md Loading commit data...
all.gyp Loading commit data...
cleanup_links.py Loading commit data...
codereview.settings Loading commit data...
download_vs_toolchain.py Loading commit data...
gyp_libyuv Loading commit data...
gyp_libyuv.py Loading commit data...
libyuv.gni Loading commit data...
libyuv.gyp Loading commit data...
libyuv.gypi Loading commit data...
libyuv_nacl.gyp Loading commit data...
libyuv_test.gyp Loading commit data...
linux.mk Loading commit data...
public.mk Loading commit data...
pylintrc Loading commit data...
winarm.mk Loading commit data...