Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgc/include/gc_gcj.h')
-rw-r--r--libgc/include/gc_gcj.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgc/include/gc_gcj.h b/libgc/include/gc_gcj.h
index 5e79e27b821..660d9d337a3 100644
--- a/libgc/include/gc_gcj.h
+++ b/libgc/include/gc_gcj.h
@@ -44,6 +44,10 @@
# include "gc.h"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* The following allocators signal an out of memory condition with */
/* return GC_oom_fn(bytes); */
@@ -110,4 +114,8 @@ extern int GC_gcj_debug_kind;
GC_gcj_malloc_ignore_off_page(s,d)
# endif
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* GC_GCJ_H */