<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - glibc 2.26 doesn't provide anymore xlocale.h"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102454#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - glibc 2.26 doesn't provide anymore xlocale.h"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102454">bug 102454</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>