<p dir="ltr"><br>
Le 29 déc. 2015 20:31, "Erik de Castro Lopo" <<a href="mailto:mle%2Bla@mega-nerd.com">mle+la@mega-nerd.com</a>> a écrit :<br>
><br>
> Rafaël Carré wrote:<br>
><br>
> > That would need a special case for Linux x32 which is x86_64 with 32<br>
> > bits pointers<br>
><br>
> It won't be wrong for x32, just sub-optimal.<br>
><br>
> Please feel free to suggest a way to detect x32.</p>
<p dir="ltr">From <a href="https://sourceware.org/glibc/wiki/x32">https://sourceware.org/glibc/wiki/x32</a></p>
<p dir="ltr">x86-64 C/C++ compiler predefines macro<tt>__LP64__</tt> while x32 C/C++ compiler predefines macro <tt>__ILP32__</tt>.</p>