Skip to content

Commit

Permalink
Fix inconsistent linkage error in dynamic component build on Windows.
Browse files Browse the repository at this point in the history
dotnet#54887 added MONO_COMPONENT_API
to mono_gc_memmove_atomic.h, but that function is declared in two
different headers, memfuncs.h and gc-internal-agnostic.h and the
second one didn't use MONO_COMPONENT_API causing inconsistent linking
errors on Windows when building dynamic components.
  • Loading branch information
lateralusX committed Jul 4, 2021
1 parent ad51267 commit cc5817c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/sgen/gc-internal-agnostic.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ word aligned or size is not a multiple of word size.
*/
void mono_gc_bzero_atomic (void *dest, size_t size);
void mono_gc_bzero_aligned (void *dest, size_t size);
void mono_gc_memmove_atomic (void *dest, const void *src, size_t size);
MONO_COMPONENT_API void mono_gc_memmove_atomic (void *dest, const void *src, size_t size);
void mono_gc_memmove_aligned (void *dest, const void *src, size_t size);

FILE *mono_gc_get_logfile (void);
Expand Down

0 comments on commit cc5817c

Please sign in to comment.