Skip to content

Commit

Permalink
haiku support (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoanga authored Aug 26, 2024
1 parent 6358d68 commit 2ec11ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string_convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ inline my_locale_t default_locale() { return _create_locale(LC_ALL, "C"); }
inline unsigned long long strtoull(const char* str, char** endptr, int base) { return _strtoui64(str, endptr, base); }
inline long long strtoll(const char* str, char** endptr, int base) { return _strtoi64(str, endptr, base); }
#endif
#elif defined(__CYGWIN__) || defined (__MINGW32__) || defined (__OpenBSD__)
#elif defined(__CYGWIN__) || defined (__MINGW32__) || defined (__OpenBSD__) || defined(__HAIKU__)
#include <locale>
typedef std::locale my_locale_t;
static double strtod_l(const char* x, char** end, const my_locale_t& loc) {
Expand Down

0 comments on commit 2ec11ab

Please sign in to comment.