Fixed: compile on linux
This commit is contained in:
parent
4611acc5b7
commit
c24f90fc26
1 changed files with 2 additions and 0 deletions
|
@ -205,8 +205,10 @@ inline std::string toString(const long unsigned int &val)
|
||||||
#if (SIZEOF_SIZE_T) == 8
|
#if (SIZEOF_SIZE_T) == 8
|
||||||
inline std::string toString(const size_t &val) { return toString("%"NL_I64"u", val); }
|
inline std::string toString(const size_t &val) { return toString("%"NL_I64"u", val); }
|
||||||
#else
|
#else
|
||||||
|
#ifdef NL_OS_MAC
|
||||||
inline std::string toString(const size_t &val) { return toString("%u", val); }
|
inline std::string toString(const size_t &val) { return toString("%u", val); }
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
inline std::string toString(const float &val) { return toString("%f", val); }
|
inline std::string toString(const float &val) { return toString("%f", val); }
|
||||||
inline std::string toString(const double &val) { return toString("%lf", val); }
|
inline std::string toString(const double &val) { return toString("%lf", val); }
|
||||||
inline std::string toString(const bool &val) { return toString("%u", val?1:0); }
|
inline std::string toString(const bool &val) { return toString("%u", val?1:0); }
|
||||||
|
|
Loading…
Reference in a new issue