mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-05 02:08:00 +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
41174221fb
commit
6a718d9b0d
@ -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