mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix for mac
This commit is contained in:
@@ -42,13 +42,16 @@ extern char *__bss_start;
|
|||||||
#define PTR_SANE(p) (p)
|
#define PTR_SANE(p) (p)
|
||||||
#endif /* __linux */
|
#endif /* __linux */
|
||||||
|
|
||||||
#ifdef __linux__
|
|
||||||
|
|
||||||
void my_init_stacktrace()
|
void my_init_stacktrace()
|
||||||
{
|
{
|
||||||
|
#ifdef __linux__
|
||||||
heap_start = (char*) &__bss_start;
|
heap_start = (char*) &__bss_start;
|
||||||
|
#endif /* __linux */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
|
||||||
static void print_buffer(char *buffer, size_t count)
|
static void print_buffer(char *buffer, size_t count)
|
||||||
{
|
{
|
||||||
const char s[]= " ";
|
const char s[]= " ";
|
||||||
|
Reference in New Issue
Block a user