commit | c721196067b78226b97709998a96e0f037d8fb64 | [log] [tgz] |
---|---|---|
author | cjacek <cjacek@gmail.com> | Mon Jan 25 07:27:36 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jan 25 07:27:36 2016 -0800 |
tree | 7497a55cb3e021b7a57d3a3ab74ef98aa128c45d | |
parent | a273c0f6676b261ef82bc43b0dcc53282f2bdf8c [diff] |
Fixed compilation on mingw. Found and tested in mingw Firefox build. There are two problems: - GCC doesn't support __vectorcall calling convention, so its usage needs to be #ifdefed - GetProcAddress returns FARPROC type (a function pointer) and GCC requires an explicit cast to void* Review URL: https://codereview.chromium.org/1589933002