Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
65c43bcf
Commit
65c43bcf
authored
Aug 20, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After-merge fix of the Windows build
parent
d5d8756d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
include/my_stacktrace.h
include/my_stacktrace.h
+8
-6
No files found.
include/my_stacktrace.h
View file @
65c43bcf
...
@@ -42,19 +42,21 @@
...
@@ -42,19 +42,21 @@
C_MODE_START
C_MODE_START
#if defined(HAVE_STACKTRACE) || defined(HAVE_BACKTRACE)
#if defined(HAVE_STACKTRACE) || defined(HAVE_BACKTRACE)
void
my_setup_stacktrace
(
void
);
void
my_print_stacktrace
(
uchar
*
stack_bottom
,
ulong
thread_stack
,
void
my_print_stacktrace
(
uchar
*
stack_bottom
,
ulong
thread_stack
,
my_bool
silent
);
my_bool
silent
);
int
my_safe_print_str
(
const
char
*
val
,
size_t
max_len
);
int
my_safe_print_str
(
const
char
*
val
,
size_t
max_len
);
void
my_write_core
(
int
sig
);
void
my_write_core
(
int
sig
);
#if BACKTRACE_DEMANGLE
#
if BACKTRACE_DEMANGLE
char
*
my_demangle
(
const
char
*
mangled_name
,
int
*
status
);
char
*
my_demangle
(
const
char
*
mangled_name
,
int
*
status
);
#endif
/* BACKTRACE_DEMANGLE */
# endif
/* BACKTRACE_DEMANGLE */
#ifdef __WIN__
# ifdef __WIN__
# define my_setup_stacktrace()
void
my_set_exception_pointers
(
EXCEPTION_POINTERS
*
ep
);
void
my_set_exception_pointers
(
EXCEPTION_POINTERS
*
ep
);
#endif
/* __WIN__ */
# else
void
my_setup_stacktrace
(
void
);
# endif
/* __WIN__ */
#else
#else
#define my_setup_stacktrace()
#
define my_setup_stacktrace()
#endif
/* ! (defined(HAVE_STACKTRACE) || defined(HAVE_BACKTRACE)) */
#endif
/* ! (defined(HAVE_STACKTRACE) || defined(HAVE_BACKTRACE)) */
#ifndef _WIN32
#ifndef _WIN32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment