[openssl-users] FW: problem with missing STDINT.H file
Michael.Wojcik at microfocus.com
Tue Feb 7 16:03:40 UTC 2017
> From: openssl-users [mailto:openssl-users-bounces at openssl.org] 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
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.
Distinguished Engineer, Micro Focus
More information about the openssl-users