[Spice-devel] [PATCH 03/20] mingw: disable vc-specific #pragma

Christophe Fergeau cfergeau at redhat.com
Thu Mar 1 02:17:37 PST 2012


---
 common/vdcommon.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/common/vdcommon.h b/common/vdcommon.h
index 1097720..edcfa1e 100644
--- a/common/vdcommon.h
+++ b/common/vdcommon.h
@@ -18,7 +18,9 @@
 #ifndef _H_VDCOMMON
 #define _H_VDCOMMON
 
+#if !defined __GNUC__
 #pragma warning(disable:4200)
+#endif
 
 #include <windows.h>
 #include "spice/vd_agent.h"
-- 
1.7.7.6



More information about the Spice-devel mailing list