NOISSUE fix some warning on linux related to the GNU C library
This commit is contained in:
parent
da4ae1bc1e
commit
3aa28bd64a
@ -3,6 +3,14 @@
|
|||||||
#include "multimc_logic_export.h"
|
#include "multimc_logic_export.h"
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
// NOTE: apparently the GNU C library pollutes the global namespace with these... undef them.
|
||||||
|
#ifdef major
|
||||||
|
#undef major
|
||||||
|
#endif
|
||||||
|
#ifdef minor
|
||||||
|
#undef minor
|
||||||
|
#endif
|
||||||
|
|
||||||
class MULTIMC_LOGIC_EXPORT JavaVersion
|
class MULTIMC_LOGIC_EXPORT JavaVersion
|
||||||
{
|
{
|
||||||
friend class JavaVersionTest;
|
friend class JavaVersionTest;
|
||||||
|
Loading…
Reference in New Issue
Block a user