diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-02-20 23:03:29 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-02-20 23:03:29 +0300 |
commit | cbe7f47df136246842c7e8e09d214d56507af878 (patch) | |
tree | c51a3239ec0c7db41886bf04b4d590d1475fa358 /dyn_load.c | |
parent | d1fb0c1b68af0e10479c071bdb24b3e2bfb739ed (diff) | |
download | bdwgc-cbe7f47df136246842c7e8e09d214d56507af878.tar.gz |
Fix 'anonymous type with no linkage used to declare variable' in GC source
Issue #206 (bdwgc).
* dyn_load.c [DARWIN] (GC_dyld_sections): Provide some name to struct.
* finalize.c (GC_fnlz_roots): Likewise.
* os_dep.c [MPROTECT_VDB && DARWIN] (GC_ports,
GC_mprotect_thread_notify, GC_mprotect_thread): Likewise.
Diffstat (limited to 'dyn_load.c')
-rw-r--r-- | dyn_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1247,7 +1247,7 @@ GC_INNER void GC_register_dynamic_libraries(void) /*#define DARWIN_DEBUG*/ /* Writable sections generally available on Darwin. */ -STATIC const struct { +STATIC const struct dyld_sections_s { const char *seg; const char *sect; } GC_dyld_sections[] = { |