[Spice-devel] [PATCH] common/backtrace.h: disable for WIN32
Arnon Gilboa
agilboa at redhat.com
Sun Jul 31 03:28:09 PDT 2011
ack
Alon Levy wrote:
> 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
>
More information about the Spice-devel
mailing list