[Spice-devel] [PATCH 08/24] mingw32 build: disable ms compiler pragmas for gcc
Hans de Goede
hdegoede at redhat.com
Wed Dec 8 00:32:49 PST 2010
Ack.
On 12/07/2010 10:28 PM, Alon Levy wrote:
> From: Gerd Hoffmann<kraxel at redhat.com>
>
> Signed-off-by: Gerd Hoffmann<kraxel at redhat.com>
> ---
> client/common.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/client/common.h b/client/common.h
> index e1c149c..c3be656 100644
> --- a/client/common.h
> +++ b/client/common.h
> @@ -40,9 +40,11 @@
> #include<winsock2.h>
> #include<windows.h>
>
> +#ifndef __GNUC__
> #pragma warning(disable:4355)
> #pragma warning(disable:4996)
> #pragma warning(disable:4200)
> +#endif
>
> #define strcasecmp stricmp
>
More information about the Spice-devel
mailing list