mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 11:21:08 -10:00
[amd64] Make inline function in header static
This was actually failing the osx build for me, probably due to symbol conflicts.
This commit is contained in:
1 parent
3d1b921a19
commit
00c6a94a9c
1 file changed
+2
-2
@@ -595,7 +595,7 @@ mono_arch_code_chunk_destroy (void *chunk);
|
||||
#define MONO_TRAMPOLINE_UNWINDINFO_SIZE(max_code_count) (mono_arch_unwindinfo_get_size (max_code_count))
|
||||
#define MONO_MAX_TRAMPOLINE_UNWINDINFO_SIZE (MONO_TRAMPOLINE_UNWINDINFO_SIZE(3))
|
||||
|
||||
inline gboolean
|
||||
static inline gboolean
|
||||
mono_arch_unwindinfo_validate_size (GSList *unwind_ops, guint max_size)
|
||||
{
|
||||
guint current_size = mono_arch_unwindinfo_get_size (mono_arch_unwindinfo_get_code_count (unwind_ops));
|
||||
@@ -607,7 +607,7 @@ mono_arch_unwindinfo_validate_size (GSList *unwind_ops, guint max_size)
|
||||
#define MONO_TRAMPOLINE_UNWINDINFO_SIZE(max_code_count) 0
|
||||
#define MONO_MAX_TRAMPOLINE_UNWINDINFO_SIZE 0
|
||||
|
||||
inline gboolean
|
||||
static inline gboolean
|
||||
mono_arch_unwindinfo_validate_size (GSList *unwind_ops, guint max_size)
|
||||
{
|
||||
return TRUE;
|
||||
|
||||
Reference in new issue
Block a user