diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index 23db74df5..e6ec21b98 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -97,7 +97,7 @@ typedef ACE_SHLIB_HANDLE MANGOS_LIBRARY_HANDLE; # define MANGOS_INLINE #endif //!DEBUG -#if COMPILER == COMPILER_GNU +#if COMPILER == COMPILER_GNU || COMPILER == COMPILER_CLANG # define ATTR_NORETURN __attribute__((noreturn)) # define ATTR_PRINTF(F,V) __attribute__ ((format (printf, F, V))) #else // COMPILER != COMPILER_GNU diff --git a/src/framework/Utilities/UnorderedMapSet.h b/src/framework/Utilities/UnorderedMapSet.h index d890a7b53..8530e97bc 100644 --- a/src/framework/Utilities/UnorderedMapSet.h +++ b/src/framework/Utilities/UnorderedMapSet.h @@ -21,6 +21,7 @@ #include "Platform/CompilerDefs.h" #include "Platform/Define.h" + #if COMPILER == COMPILER_CLANG # include # include @@ -30,7 +31,7 @@ #elif COMPILER == COMPILER_GNU && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 3) # include # include -#elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 +#elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 3) # include # include #elif COMPILER == COMPILER_MICROSOFT && (_MSC_VER > 1500 || _MSC_VER == 1500 && _HAS_TR1) // VC9.0 SP1 and later diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index af2063fd6..5a5f85540 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12773" + #define REVISION_NR "12774" #endif // __REVISION_NR_H__