diff options
Diffstat (limited to 'src/common/Common.h')
-rw-r--r-- | src/common/Common.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/common/Common.h b/src/common/Common.h index 22cf8ce889b..847b296d1a4 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -21,22 +21,6 @@ #include "Define.h" #include <array> #include <string> -#include <cstdlib> - -#if TRINITY_COMPILER == TRINITY_COMPILER_MICROSOFT - -#define atoll _atoi64 -#define llabs _abs64 - -#else - -#define stricmp strcasecmp -#define strnicmp strncasecmp - -#endif - -inline unsigned long atoul(char const* str) { return strtoul(str, nullptr, 10); } -inline unsigned long long atoull(char const* str) { return strtoull(str, nullptr, 10); } #define STRINGIZE(a) #a @@ -127,15 +111,6 @@ struct LocalizedString #pragma pack(pop) -// we always use stdlib std::max/std::min, undefine some not C++ standard defines (Win API and some other platforms) -#ifdef max -#undef max -#endif - -#ifdef min -#undef min -#endif - #ifndef M_PI #define M_PI 3.14159265358979323846 #endif |