Using __x86_64__

This commit is contained in:
WolverinDEV 2021-02-12 14:56:25 +01:00
parent d9e2462848
commit b785cd52ba
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ CONVERTER_PRIMITIVE_ST(float, std::stof(std::string{str}));
CONVERTER_PRIMITIVE_ST(double, std::stod(std::string{str})); CONVERTER_PRIMITIVE_ST(double, std::stod(std::string{str}));
CONVERTER_PRIMITIVE_ST(long_double, std::stold(std::string{str})); CONVERTER_PRIMITIVE_ST(long_double, std::stold(std::string{str}));
#if UINTPTR_WIDTH >= 64 #if __x86_64__
CONVERTER_PRIMITIVE_ST(long_long_unsigned_int_t, std::stoull(std::string{str})); CONVERTER_PRIMITIVE_ST(long_long_unsigned_int_t, std::stoull(std::string{str}));
#endif #endif

View File

@ -52,7 +52,7 @@ namespace ts {
CONVERTER_PRIMITIVE(int64_t); CONVERTER_PRIMITIVE(int64_t);
CONVERTER_PRIMITIVE(uint64_t); CONVERTER_PRIMITIVE(uint64_t);
#if UINTPTR_WIDTH >= 64 #if __x86_64__
CONVERTER_PRIMITIVE(long_long_unsigned_int_t); CONVERTER_PRIMITIVE(long_long_unsigned_int_t);
#endif #endif
typedef std::string std__string; typedef std::string std__string;