mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-07 17:43:58 +00:00
add C++ guards to backtrace.h
Without these, spice_backtrace() can't be used from the C++ client code.
This commit is contained in:
parent
4004bb37bc
commit
5a197ca497
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user