summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-03-24 09:08:45 +0100
committerIvan Maidanski <ivmai@mail.ru>2012-03-25 09:12:54 +0200
commite5ff6961fc86e00daf32edb8eb6edd3e12435e5e (patch)
treeac359e7099e0336a7857b33130e7b427b6411d15
parent358bfd5a33a4bd131d8ea72775df2948cda471a2 (diff)
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).
-rw-r--r--include/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gc.h b/include/gc.h
index b5c71f6..98a7704 100644
--- a/include/gc.h
+++ b/include/gc.h
@@ -1015,7 +1015,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)