projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b15cc
)
Match GC_NOEXCEPT definition between gc_cpp.h and gc_allocator.h
author
Ivan Maidanski
<ivmai@mail.ru>
Fri, 8 Jun 2018 08:54:32 +0000
(11:54 +0300)
committer
Ivan 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
patch
|
blob
|
history
diff --git
a/include/gc_allocator.h
b/include/gc_allocator.h
index
74f175c
..
491736f
100644
(file)
--- a/
include/gc_allocator.h
+++ b/
include/gc_allocator.h
@@
-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))