diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-08-08 11:24:03 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:54 +0100 |
commit | 6130d4602d12399492200028e76f117b3d9466e9 (patch) | |
tree | e116df859cab9bd13cf3b811e15d7904efe31722 /common | |
parent | 40c06459e51401b94569196618551c65d0d36f97 (diff) | |
download | spice-common-6130d4602d12399492200028e76f117b3d9466e9.tar.gz spice-common-6130d4602d12399492200028e76f117b3d9466e9.tar.xz spice-common-6130d4602d12399492200028e76f117b3d9466e9.zip |
add C++ guards to backtrace.h
Without these, spice_backtrace() can't be used from the C++ client
code.
Diffstat (limited to 'common')
-rw-r--r-- | 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 |