Merge pull request #152 from bozaro/no-exceptions
Fix Visual Studio compilation with _HAS_EXCEPTIONS=0pull/131/head
commit
50b4f675ac
7
stdcpp.h
7
stdcpp.h
|
|
@ -20,6 +20,13 @@
|
|||
#include <map>
|
||||
#include <new>
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900) && defined(_HAS_EXCEPTIONS) && (_HAS_EXCEPTIONS == 0)
|
||||
// Workaround for: https://connect.microsoft.com/VisualStudio/feedback/details/1600701/type-info-does-not-compile-with-has-exceptions-0
|
||||
namespace std {
|
||||
using ::type_info;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if _MSC_VER >= 1600
|
||||
// for make_unchecked_array_iterator
|
||||
#include <iterator>
|
||||
|
|
|
|||
Loading…
Reference in New Issue