diff options
author | Ashish Kulkarni <kulkarni.ashish@gmail.com> | 2014-12-18 20:58:23 +0530 |
---|---|---|
committer | Ashish Kulkarni <kulkarni.ashish@gmail.com> | 2015-01-08 17:51:33 +0100 |
commit | ca1d4ca82d3eff0d1cbc645bb21da5e709c1ad57 (patch) | |
tree | c498e69c68d4dea925602e296f97e3c759d57fd7 /Source/JavaScriptCore/wasm/JSWASMModule.h | |
parent | fe1706e797033af0411ce0db793f51c90078d21e (diff) | |
download | qtwebkit-ca1d4ca82d3eff0d1cbc645bb21da5e709c1ad57.tar.gz |
fix build on MSVC with --system-libpng or --system-libjpeg
This was introduced in WebKit r108792, as in the related bug
https://bugs.webkit.org/show_bug.cgi?id=32410#c26
it was confirmed as broken for Windows MSVC (for Chromium). The final
merge made it conditional for PLATFORM(QT) but did not fix the
underlying issue, which was the wrong placement of NO_RETURN as MSVC
does not allow __declspec(noreturn) to be put after the declaration
but GCC allows __attribute((__noreturn__)) at either location. This
is similar with the usage of NO_RETURN in other places.
Change-Id: I95ae3727553093b84b3645eb6dad63779f08e09d
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'Source/JavaScriptCore/wasm/JSWASMModule.h')
0 files changed, 0 insertions, 0 deletions