Match GC_NOEXCEPT definition between gc_cpp.h and gc_allocator.h
authorIvan Maidanski <ivmai@mail.ru>
Fri, 8 Jun 2018 08:54:32 +0000 (11:54 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 8 Jun 2018 08:54:32 +0000 (11:54 +0300)
(fix of commit 48e8a7f)

* include/gc_allocator.h [!GC_NOEXCEPT]: Define to nothing also if
__DMC__.

include/gc_allocator.h

index 74f175c..491736f 100644 (file)
@@ -57,7 +57,7 @@
 #endif
 
 #ifndef GC_NOEXCEPT
-# if (defined(__BORLANDC__) \
+# if defined(__DMC__) || (defined(__BORLANDC__) \
         && (defined(_RWSTD_NO_EXCEPTIONS) || defined(_RWSTD_NO_EX_SPEC))) \
      || (defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS) \
      || (defined(__WATCOMC__) && !defined(_CPPUNWIND))