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 0796f5a2d6
commit 8e2a48a7a2

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>