From 5430f3a61f63b75fef1785de411fe0c0b82002bf Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 13 Jan 2012 12:37:42 +0200 Subject: 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. --- client/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/common.h') 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 #include -- cgit