[Mesa-dev] [Bug 102454] glibc 2.26 doesn't provide anymore xlocale.h
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 29 18:13:31 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102454
--- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> ---
The patch in the bug report isn't quite right (aka remove the header and guards
all together).
Instead one should add a configure check - AC_LINK_IFELSE() ... which:
- includes xlocale.h reusing the HAVE_XLOCALE_H guard
- references strtod_l w/o any guard, setting a macro HAVE_FOO
Then update the code
- swap the __GNU_SOURCE guards through the file with HAVE_FOO
- HAVE_XLOCALE_H should guard _only_ the header inclusion
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170829/7aacf29b/attachment.html>
More information about the mesa-dev
mailing list