Fixed warnings in Windows
--HG-- branch : develop
This commit is contained in:
parent
b3a7063a9b
commit
b46e384ca7
|
@ -42,7 +42,7 @@
|
|||
#define strcasecmp(s,t) stricmp(s,t)
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32)&&!defined(strcasecmp)
|
||||
#define strcasecmp(s,t) _stricmp(s,t)
|
||||
#endif
|
||||
|
||||
|
@ -50,7 +50,9 @@
|
|||
#ifdef _WIN32
|
||||
#undef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#if defined(Q_CC_MSVC)
|
||||
#pragma warning(disable : 4800)
|
||||
#endif // Q_CC_MSVC
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
|
|
|
@ -41,7 +41,9 @@
|
|||
#ifdef _WIN32
|
||||
#undef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#if defined(Q_CC_MSVC)
|
||||
#pragma warning(disable : 4800)
|
||||
#endif // Q_CC_MSVC
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
|
|
Loading…
Reference in New Issue
Block a user