make the debug trap macro a proper macro in macro.h

This commit is contained in:
Lennart Poettering 2008-10-21 22:04:22 +02:00
parent ef9f3f6ec4
commit c4b346259f

View file

@ -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>