<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-10-19 22:27 GMT+02:00 James Cowgill <span dir="ltr"><<a href="mailto:james410@cowgill.org.uk" target="_blank">james410@cowgill.org.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Sun, 2014-10-19 at 21:05 +0200, Jaromír Mikeš wrote:<br>
> I got patch which fixed build on  kfreebsd-amd64 kfreebsd-i386, but build<br>
> on hurd-i386 failed :(<br>
><br>
> <a href="https://buildd.debian.org/status/fetch.php?pkg=zam-plugins&arch=hurd-i386&ver=3.5~repack0-5&stamp=1413736712" target="_blank">https://buildd.debian.org/status/fetch.php?pkg=zam-plugins&arch=hurd-i386&ver=3.5~repack0-5&stamp=1413736712</a><br>
><br>
> I need quick fix or quick advise how correctly disable hurd=i386 only. ....<br>
<br>
</span>Just had a play on a hurd VM. Hurd doesn't define __GLIBC__ so you'll<br>
need an extra "|| defined(__GNU__)" in your patch.<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>Aha ...something like this should works?<br><br># elif defined(__linux__) || defined (__GLIBC__) || defined(__GNU__)<br><br></div><div>thank you<br><br></div><div>mira <br></div></div><br></div></div>