Skip to content

Commit

Permalink
Fixes MONO_PROFILE_ENTER_LEAVE undeclared when compiling with newer v…
Browse files Browse the repository at this point in the history
…ersions of Mono (#266)
  • Loading branch information
jordimas authored and Therzok committed Mar 12, 2019
1 parent a00552a commit c1b9bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gtk/gui-thread-check/profiler/gui-thread-check.c
Expand Up @@ -86,6 +86,10 @@ simple_method_enter (MonoProfiler *prof, MonoMethod *method)
}
}

#ifndef MONO_PROFILE_ENTER_LEAVE
#define MONO_PROFILE_ENTER_LEAVE (1 << 12)
#endif

void
mono_profiler_startup (const char *desc)
{
Expand Down

0 comments on commit c1b9bd4

Please sign in to comment.