Skip to content

Commit

Permalink
Merge TrinityCore 3.3.5 to ElunaTrinityWotlk [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochet2 committed Mar 28, 2024
2 parents 376ca1b + 3706854 commit 82e5461
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/macros/CheckPlatform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif()

if(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64|AMD64")
set(TRINITY_SYSTEM_PROCESSOR "amd64")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM)64$")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM|aarch)64$")
set(TRINITY_SYSTEM_PROCESSOR "arm64")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM)$")
set(TRINITY_SYSTEM_PROCESSOR "arm")
Expand Down
4 changes: 2 additions & 2 deletions dep/argon2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ file(GLOB_RECURSE sources *.c)

if(TRINITY_SYSTEM_PROCESSOR MATCHES "x86|amd64")
list(REMOVE_ITEM sources
${CMAKE_CURRENT_SOURCE_DIR}/argon2/opt.c)
${CMAKE_CURRENT_SOURCE_DIR}/argon2/ref.c)
else()
list(REMOVE_ITEM sources
${CMAKE_CURRENT_SOURCE_DIR}/argon2/ref.c)
${CMAKE_CURRENT_SOURCE_DIR}/argon2/opt.c)
endif()

add_library(argon2 STATIC
Expand Down
2 changes: 1 addition & 1 deletion src/common/Utilities/SFMTRand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if __has_include(<mm_malloc.h>)
#include <mm_malloc.h>
#elif __has_include(<malloc.h>)
#elif __has_include(<malloc.h>) && TRINITY_COMPILER == TRINITY_COMPILER_MICROSOFT
#include <malloc.h>
#else
static __inline__ void *__attribute__((__always_inline__, __nodebug__, __malloc__))
Expand Down

0 comments on commit 82e5461

Please sign in to comment.