[Spice-devel] [PATCH 08/24] mingw32 build: disable ms compiler pragmas for gcc
Alon Levy
alevy at redhat.com
Tue Dec 7 13:28:07 PST 2010
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
--
1.7.3.2
More information about the Spice-devel
mailing list