On Friday 13 September 2013 16:27:03 Green, Paul wrote:
> Cristian Rodríguez wrote:
> > El 12/09/13 14:17, Yuriy Kaminskiy escribió:
> >> This will break on glibc-3.0.
> >> #if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 16)
> >
> >Yes, that is the correct way, but ensure <features.h> is being included.
> 
> As a compiler implementer, I must object. The universal convention is that
> symbols starting with a double-underscore are for the implementation's
> use, not for use by end-user software. Please stop reading the headers and
> trying to figure out how the implementation-specific macros work. Stay
> with the documented macros.
> 
> If you are concerned about compiler or runtime bugs, write a configure test
> for them, like any other feature. Don't put these hacks into the source
> code.

it isn't a compiler feature, it's a C library feature

that said, a simple check for the sys/auxv.h header is sufficient.  if openssl 
even has the build tooling to support headers like that.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to