summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-03-24 07:01:22 +0100
committerIvan Maidanski <ivmai@mail.ru>2012-03-25 09:12:11 +0200
commit358bfd5a33a4bd131d8ea72775df2948cda471a2 (patch)
treee5b7b26095422602bdbe673a939508f61b555aa1 /include
parentd8e37bad8d6b5770e269913feb67a26812713e08 (diff)
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).
Diffstat (limited to 'include')
-rw-r--r--include/gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gc.h b/include/gc.h
index dfa0ff6..b5c71f6 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 */