<html><head></head><body>My understanding is that POSIX.next will standardize on the GNU/libc prototype, regardless of historical precedence. But of course, we cannot know for sure until the spec is out.<br><br><div class="gmail_quote">Le 19 janvier 2019 18:56:25 GMT+02:00, David Fuhrmann <david.fuhrmann@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi,<br><br>I checked all FreeBSD Versions 3 to 12, and macOS SDKs 10.7, 10.12, 10.13 and 10.14. All have the same include guard, and that since ages. So I think it is safe to assume that it stays as it is for now.<br><br>BTW, qsort_r exists in its FreeBSD variant since ages already. According to <a href="https://stackoverflow.com/questions/39560773/different-declarations-of-qsort-r-on-mac-and-linux,">https://stackoverflow.com/questions/39560773/different-declarations-of-qsort-r-on-mac-and-linux,</a> FreeBSD introduced its variant in 2002, whereas Linux added the other variant in 2008.<br><br>Maybe VLC should not use such a function directly with such a long history of incompatible signature, and where the FreeBSD variant is even older?<br>And from my understanding, qsort_r is in no standard as of today either.<br><br>Best,<br>David<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Am 19.01.2019 um 16:35 schrieb Rémi Denis-Courmont <remi@remlab.net>:<br><br>   Hey,<br><br>Are you sure that we can assume the stdlib.h guard on all affected platforms? <br>It definitely cannot be done on all platforms - but that's not really the <br>question.<br><br>Br,<hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>