[openssl-dev] [openssl.org #4144] patch: Use '__sun' instead of 'sun' for strict ISO conforming, compiler/options

Andy Polyakov via RT rt at openssl.org
Sun Nov 22 14:42:00 UTC 2015


> FWIW, the generally accepted and documented platform tests include:
>>  #ifdef __sun
>>  /* this is SunOS */
>>  #endif

By the way, was it *actually* tested on SunOS 4? And if so, when and
with which compiler? Is it possible that it simply was harmonized at
some point with "we have double-underscore everywhere, don't we"
rationale, without actual test on SunOS 4? And this way became kind of
an urban legend? Well, I'm not actually asserting that I myself have
possibility to test something on SunOS 4 now, but I have copy of system
headers and see what did gcc 2.95 define...




More information about the openssl-dev mailing list