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.
This commit is contained in:
Alon Levy 2012-01-13 12:37:42 +02:00
parent 01102ff62b
commit 5430f3a61f

View File

@ -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>