Enable mingw's clang

This commit is contained in:
ImperatorS79 2021-08-21 15:45:53 +02:00 committed by Jérôme Leclercq
parent b31c56c642
commit befcab7e4e
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@
#define NAZARA_COMPILER_CLANG
#define NAZARA_DEPRECATED(txt) __attribute__((__deprecated__(txt)))
#define NAZARA_FUNCTION __PRETTY_FUNCTION__
#ifdef __MINGW32__
#define NAZARA_COMPILER_MINGW
#ifdef __MINGW64_VERSION_MAJOR
#define NAZARA_COMPILER_MINGW_W64
#endif
#endif
#elif defined(__GNUC__) || defined(__MINGW32__)
#define NAZARA_COMPILER_GCC
#define NAZARA_DEPRECATED(txt) __attribute__((__deprecated__(txt)))