From: Ivan Maidanski Date: Sat, 24 Mar 2012 06:01:22 +0000 (+0400) Subject: Fix gc.h compatibility regression by adding GC_PTR X-Git-Tag: gc7_3alpha2~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5d6c05c273fee3454f95267470e8cd81e86a21f;p=gc Fix gc.h compatibility regression by adding GC_PTR (Revert part of commit e35a417) * include/gc.h (GC_PTR): Add typedef again (for source-level backward compatibility useful for clients currently using gcc_boehmgc or mono_libgc). --- diff --git a/include/gc.h b/include/gc.h index a78a4c4e..b2bc6d40 100644 --- a/include/gc.h +++ b/include/gc.h @@ -44,6 +44,7 @@ extern "C" { #endif +typedef void * GC_PTR; /* preserved only for backward compatibility */ /* Define word and signed_word to be unsigned and signed types of the */ /* size as char * or void *. There seems to be no way to do this */