mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
make the debug trap macro a proper macro in macro.h
This commit is contained in:
parent
ef9f3f6ec4
commit
c4b346259f
1 changed files with 6 additions and 0 deletions
|
|
@ -220,6 +220,12 @@ typedef int pa_bool_t;
|
|||
|
||||
#endif
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#define PA_DEBUG_TRAP __asm__("int $3")
|
||||
#else
|
||||
#define PA_DEBUG_TRAP raise(SIGTRAP)
|
||||
#endif
|
||||
|
||||
/* We include this at the very last place */
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue