> From: openssl-users [mailto:[email protected]] On Behalf
> Of Andy Polyakov
> Sent: Tuesday, February 07, 2017 10:49
> > # elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
> || \
> > defined(__osf__) || defined(__sgi) || defined(__hpux) || \
> > defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
>
> It should probably be noted that this is quite counter-intuitive
> condition.
Also, that "defined(__STDC_VERSION__)" is redundant; if X is not defined in a
#if test, then it has to be replaced with 0, which is not >= 199901L. Any
implementation that doesn't do that isn't even compatible with C90, and you'll
have bigger problems.
And the "defined" operator is an operator, not a function. The parentheses are
superfluous.
# elif __STDC_VERSION__ >= 199901L || \
defined __osf__ || defined __sgi || defined __hpux || \
defined OPENSSL_SYS_VMS || defined __OpenBSD__ || defined __sun
/* C99 implementations and some others have inttype.h */
Ah, that's almost readable.
Michael Wojcik
Distinguished Engineer, Micro Focus
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users