summaryrefslogtreecommitdiffstats
path: root/client/common.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-07-08 11:40:56 +0200
committerAlon Levy <alevy@redhat.com>2010-12-08 17:11:44 +0200
commit53c808947d4d5b480d8880f69b53d4e6bac056fa (patch)
tree301ec19b992e8f3ebb6570b1d9b3a36b1e1baf2e /client/common.h
parent71aad4d7e8f639e48709bf8515dc4c96342b90e3 (diff)
downloadspice-53c808947d4d5b480d8880f69b53d4e6bac056fa.tar.gz
spice-53c808947d4d5b480d8880f69b53d4e6bac056fa.tar.xz
spice-53c808947d4d5b480d8880f69b53d4e6bac056fa.zip
mingw32 build: disable ms compiler pragmas for gcc
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'client/common.h')
-rw-r--r--client/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/common.h b/client/common.h
index e1c149c6..c3be6568 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