From: Ivan Maidanski Date: Sat, 24 Mar 2012 08:08:45 +0000 (+0400) Subject: Fix HIDE_POINTER definition in gc.h X-Git-Tag: gc7_3alpha2~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b21ee7b9fec6cc6288930e751c6a068d537b3d1b;p=gc Fix HIDE_POINTER definition in gc.h (Revert part of commit 14d2724) * include/gc.h (HIDE_POINTER): Test GC_I_HIDE_POINTERS macro (as a synonym to I_HIDE_POINTERS) again (remains for backward compatibility only). --- diff --git a/include/gc.h b/include/gc.h index b2bc6d40..579f0037 100644 --- a/include/gc.h +++ b/include/gc.h @@ -1067,7 +1067,7 @@ typedef GC_word GC_hidden_pointer; /* allocator lock to avoid a race with the collector. */ #define GC_REVEAL_POINTER(p) ((void *)GC_HIDE_POINTER(p)) -#ifdef I_HIDE_POINTERS +#if defined(I_HIDE_POINTERS) || defined(GC_I_HIDE_POINTERS) /* This exists only for compatibility (the GC-prefixed symbols are */ /* preferred for new code). */ # define HIDE_POINTER(p) GC_HIDE_POINTER(p)