Issue #1956 - Allow building with newer MSVC versions.

(P.S.: this rev is partly imported from upstream, without binaries. -Roy)
This commit is contained in:
Jeremy Andrews 2022-07-01 17:43:55 -05:00 committed by roytam1
commit ccd69e165d
6 changed files with 14 additions and 151 deletions

View file

@ -17,12 +17,6 @@
# define MOZ_INCLUDE_MOZALLOC_H_FROM_${HEADER}
#endif
// Code built with !_HAS_EXCEPTIONS calls std::_Throw(), but the win2k
// CRT doesn't export std::_Throw(). So we define it.
#ifndef mozilla_Throw_h
# include "mozilla/throw_msvc.h"
#endif
#ifdef _DEBUG
// From
// http://msdn.microsoft.com/en-us/library/aa985982%28VS.80%29.aspx