Skip to content

Commit

Permalink
2010-01-15 Ivan Maidanski <[email protected]>
Browse files Browse the repository at this point in the history
	* include/gc_cpp.h (GC_PLACEMENT_DELETE): Define for Embarcadero
	(formerly known as Borland) C++ compiler v6.21+.
	* include/gc_cpp.h (GC_NO_OPERATOR_NEW_ARRAY): Define for ancient
	VC++ compilers.
  • Loading branch information
ivmai authored and ivmai committed Jul 26, 2011
1 parent 82344a3 commit af985d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2010-01-15 Ivan Maidanski <[email protected]>

* include/gc_cpp.h (GC_PLACEMENT_DELETE): Define for Embarcadero
(formerly known as Borland) C++ compiler v6.21+.
* include/gc_cpp.h (GC_NO_OPERATOR_NEW_ARRAY): Define for ancient
VC++ compilers.

2009-12-18 Ivan Maidanski <[email protected]>

* win32_threads.c (GC_register_my_thread_inner,
Expand Down
3 changes: 2 additions & 1 deletion include/gc_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ by UseGC. GC is an alias for UseGC, unless GC_NAME_CONFLICT is defined.
&& (defined(__BORLANDC__) && (__BORLANDC__ < 0x450) \
|| (defined(__GNUC__) && \
(__GNUC__ < 2 || __GNUC__ == 2 && __GNUC_MINOR__ < 6)) \
|| (defined(_MSC_VER) && _MSC_VER <= 1020) \
|| (defined(__WATCOMC__) && __WATCOMC__ < 1050))
# define GC_NO_OPERATOR_NEW_ARRAY
#endif
Expand All @@ -161,7 +162,7 @@ by UseGC. GC is an alias for UseGC, unless GC_NAME_CONFLICT is defined.
# define GC_OPERATOR_NEW_ARRAY
#endif

#if ! defined ( __BORLANDC__ ) /* Confuses the Borland compiler. */ \
#if (!defined(__BORLANDC__) || __BORLANDC__ > 0x0620) \
&& ! defined ( __sgi ) && ! defined( __WATCOMC__ ) \
&& (!defined(_MSC_VER) || _MSC_VER > 1020)
# define GC_PLACEMENT_DELETE
Expand Down

0 comments on commit af985d2

Please sign in to comment.