Without these, spice_backtrace() can't be used from the C++ client code. --- common/backtrace.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/common/backtrace.h b/common/backtrace.h index 21b6b67..8fcbb78 100644 --- a/common/backtrace.h +++ b/common/backtrace.h @@ -19,10 +19,16 @@ #ifndef BACKTRACE_H #define BACKTRACE_H +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + #ifdef WIN32 #define spice_backtrace() #else void spice_backtrace(void); #endif +SPICE_END_DECLS + #endif // BACKTRACE_H -- 1.7.6 _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
