Using __x86_64__
This commit is contained in:
parent
d9e2462848
commit
b785cd52ba
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user