[Spice-devel] [PATCH] common/backtrace.h: disable for WIN32
Alon Levy
alevy at redhat.com
Wed Jul 20 06:19:51 PDT 2011
This also catches mingw32 which is probably fine, but at least it fixes
the build on visual studio.
---
common/backtrace.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common/backtrace.h b/common/backtrace.h
index 3b0c132..21b6b67 100644
--- a/common/backtrace.h
+++ b/common/backtrace.h
@@ -19,6 +19,10 @@
#ifndef BACKTRACE_H
#define BACKTRACE_H
+#ifdef WIN32
+#define spice_backtrace()
+#else
void spice_backtrace(void);
+#endif
#endif // BACKTRACE_H
--
1.7.6
More information about the Spice-devel
mailing list