[openssl/openssl] b1104a: Checking __STDC_VERSION__ rather than __STRICT_ANSI__

Richard Levitte noreply at github.com
Tue Sep 13 07:39:52 UTC 2022

  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: b1104a3a2dd4351af85cf48f677691a414ffc3a2
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M apps/lib/log.c

  Log Message:
  Checking __STDC_VERSION__ rather than __STRICT_ANSI__

`__STRICT_ANSI__` is a gnuish flag macro that indicates if `-ansi`
was given on the command line.  To check the C version, it's better
to check the macro `__STDC_VERSION__`.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/19197)

More information about the openssl-commits mailing list