From 8b4ff62ddbef215859161d042012d705e64ea1bb Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 20 Jul 2011 16:19:51 +0300 Subject: common/backtrace.h: disable for WIN32 This also catches mingw32 which is probably fine, but at least it fixes the build on visual studio. --- common/backtrace.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/backtrace.h') 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 -- cgit