Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/lib/backtrace-string.h @ 9191:b340ecb24469 HEAD
Fix VPATH build of RQUOTA support.
Some rpcgen derive #include "..." paths from the infile argument.
This will be off for VPATH builds, as the generated rquota_xdr.c
code will look in $(srcdir), but we'll generate the rquota.h file in
$(builddir). Play safe and copy rquota.x to $(builddir) first.
This fixes the build on openSUSE 11.1.
author | Matthias Andree <matthias.andree@gmx.de> |
---|---|
date | Tue, 07 Jul 2009 21:01:36 +0200 |
parents | e4eb71ae8e96 |
children |
rev | line source |
---|---|
6410
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
4840
diff
changeset
|
1 #ifndef BACKTRACE_STRING_H |
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
4840
diff
changeset
|
2 #define BACKTRACE_STRING_H |
4840
a0a38a306c17
Since getting core dumps can be sometimes difficult, if we now do abort()
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 |
a0a38a306c17
Since getting core dumps can be sometimes difficult, if we now do abort()
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
4 /* Returns 0 if ok, -1 if failure. */ |
a0a38a306c17
Since getting core dumps can be sometimes difficult, if we now do abort()
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
5 int backtrace_append(string_t *str); |
a0a38a306c17
Since getting core dumps can be sometimes difficult, if we now do abort()
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
6 int backtrace_get(const char **backtrace_r); |
a0a38a306c17
Since getting core dumps can be sometimes difficult, if we now do abort()
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
7 |
a0a38a306c17
Since getting core dumps can be sometimes difficult, if we now do abort()
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
8 #endif |