summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-02-19 23:11:22 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-02-23 19:03:25 +0100
commit89422a3a417fc134b64de59b4a3434a4453c6cdb (patch)
treea1532209a5ad65b9f1aa6f08d66d95c7a3674b16
parenta343a280a9febaf384816d9bbcabab67b05e37a5 (diff)
mingw: disable vc-specific #pragma
-rw-r--r--common/vdcommon.h2
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"