mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Misc: Fixed deprecation warnings for c++20
(cherry picked from commit ba9bbbc9d0)
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
# include <fnmatch.h>
|
||||
# include <unistd.h>
|
||||
# define _getcwd getcwd
|
||||
# if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
# if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
|
||||
# define stat64 stat
|
||||
# endif
|
||||
# define _stat stat
|
||||
|
||||
Reference in New Issue
Block a user