From b21ee7b9fec6cc6288930e751c6a068d537b3d1b Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sat, 24 Mar 2012 12:08:45 +0400 Subject: [PATCH] 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). --- include/gc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0