mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 14:50:22 +00:00
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:
parent
01102ff62b
commit
5430f3a61f
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user