[Spice-devel] [PATCH 02/11] client/common.h: mingw32 fix
Alon Levy
alevy at redhat.com
Fri Jan 13 03:35:45 PST 2012
define PACKAGE_VERSION only ifndef __GNUC__
Since it is defined by autoconf and so it kinda comes with using the GNU
compilers.
---
client/common.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/common.h b/client/common.h
index 8b4e39d..e9572bd 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>
--
1.7.8.2
More information about the Spice-devel
mailing list