Commit 057c560e authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-10943 . Workaround linker error on Linux. Linux does not actually use...

MDEV-10943 . Workaround linker error on Linux. Linux does not actually use __bss_start,  put __bss_start into #ifndef __linux__ section
parent 9208b87f
......@@ -38,13 +38,13 @@
static char *heap_start;
#ifdef HAVE_BSS_START
#if(defined HAVE_BSS_START) && !(defined __linux__)
extern char *__bss_start;
#endif
void my_init_stacktrace()
{
#ifdef HAVE_BSS_START
#if(defined HAVE_BSS_START) && !(defined __linux__)
heap_start = (char*) &__bss_start;
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment