mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 578546 - Fix MSVC warning spam by adjusting ifdef to include MSVC. r=cjones a=benjamin
This commit is contained in:
parent
cbf535d254
commit
f7b38c7dad
@ -206,10 +206,11 @@ MOZALLOC_EXPORT void* moz_valloc(size_t size)
|
||||
# define MOZALLOC_EXPORT_NEW
|
||||
#endif
|
||||
|
||||
#ifdef ANDROID
|
||||
#if defined(ANDROID) || defined(_MSC_VER)
|
||||
/*
|
||||
* Android doesn't fully support exceptions, so its <new> header
|
||||
* has operators that don't specify throw() at all.
|
||||
* has operators that don't specify throw() at all. Also include MSVC
|
||||
* to suppress build warning spam (bug 578546).
|
||||
*/
|
||||
#define MOZALLOC_THROW_IF_HAS_EXCEPTIONS /**/
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user