summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-01-13 12:37:42 +0200
committerAlon Levy <alevy@redhat.com>2012-01-13 17:42:22 +0200
commit5430f3a61f63b75fef1785de411fe0c0b82002bf (patch)
tree1beeec7d7b1d61a06e9db655853bbed36f74f3c3
parent01102ff62b96ac67089f75bc5dc404f3d49f1d88 (diff)
downloadspice-5430f3a61f63b75fef1785de411fe0c0b82002bf.tar.gz
spice-5430f3a61f63b75fef1785de411fe0c0b82002bf.tar.xz
spice-5430f3a61f63b75fef1785de411fe0c0b82002bf.zip
client/common.h: mingw32 fix
define PACKAGE_VERSION only ifndef __GNUC__ Since it is defined by autoconf and so it kinda comes with using the GNU compilers.
-rw-r--r--client/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/common.h b/client/common.h
index 8b4e39de..e9572bd7 100644
--- a/client/common.h
+++ b/client/common.h
@@ -58,12 +58,12 @@
#pragma warning(disable:4355)
#pragma warning(disable:4996)
#pragma warning(disable:4200)
+
+extern const char* PACKAGE_VERSION;
#endif
#define strcasecmp stricmp
-extern const char* PACKAGE_VERSION;
-
#else
#include <unistd.h>
#include <X11/X.h>