summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorGeoff Norton <grompf@sublimeintervention.com>2009-06-17 01:13:07 +0000
committerguest <ivmai@mail.ru>2011-07-29 15:31:21 +0400
commita0347f09d200a470831df567e9df2091149909e3 (patch)
treecc7d854e4bfa073b7b1fc0c9615e59688e8e1941 /misc.c
parentff1d56d4baa5f5cde6a0f8f81645e5e215fbe61a (diff)
downloadbdwgc-a0347f09d200a470831df567e9df2091149909e3.tar.gz
2009-06-16 Geoff Norton <gnorton@novell.com>
* include/private/gcconfig.h: Disable static scanning on this platform * misc.c: Enable platform-specific disabling of static scanning svn path=/trunk/mono/; revision=136280
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index ee4348b2..4744faa4 100644
--- a/misc.c
+++ b/misc.c
@@ -81,6 +81,8 @@
/* dyn_load.c isn't linked in. */
#ifdef DYNAMIC_LOADING
# define GC_REGISTER_MAIN_STATIC_DATA() GC_register_main_static_data()
+#elif defined(GC_DONT_REGISTER_MAIN_STATIC_DATA)
+# define GC_REGISTER_MAIN_STATIC_DATA() FALSE
#else
# define GC_REGISTER_MAIN_STATIC_DATA() TRUE
#endif