summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-07-20 16:19:51 +0300
committerArnon Gilboa <agilboa@redhat.com>2011-07-31 13:31:58 +0300
commit8b4ff62ddbef215859161d042012d705e64ea1bb (patch)
tree927dbe49fdd57b052f4923f9bf82ba5d5105f7f3 /common
parent048b003468ab7fc5f4c48886cb5941814c484b7c (diff)
downloadspice-8b4ff62ddbef215859161d042012d705e64ea1bb.tar.gz
spice-8b4ff62ddbef215859161d042012d705e64ea1bb.tar.xz
spice-8b4ff62ddbef215859161d042012d705e64ea1bb.zip
common/backtrace.h: disable for WIN32
This also catches mingw32 which is probably fine, but at least it fixes the build on visual studio.
Diffstat (limited to 'common')
-rw-r--r--common/backtrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/backtrace.h b/common/backtrace.h
index 3b0c1323..21b6b67f 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