json-glib: update to 1.10.6
[oi-userland.git] / components / library / opencolorio / patches / 02-NumberUtils.h.patch
blob6ecf6e850e75949a6b00da061c54ab7482350b87
1 https://www.illumos.org/issues/5346
3 --- OpenColorIO-2.4.0/src/utils/NumberUtils.h.orig
4 +++ OpenColorIO-2.4.0/src/utils/NumberUtils.h
5 @@ -18,6 +18,21 @@
6 #endif
7 #include <system_error>
9 +inline double strtod_l(const char *__nptr, char **__endptr,
10 + locale_t __loc) {
11 + return strtod(__nptr, __endptr);
14 +inline float strtof_l(const char *__nptr, char **__endptr,
15 + locale_t __loc) {
16 + return strtof(__nptr, __endptr);
19 +inline long strtol_l(const char *__nptr, char **__endptr,
20 + int __base, locale_t __loc) {
21 + return strtol(__nptr, __endptr, __base);
24 namespace OCIO_NAMESPACE
26 namespace NumberUtils