include/openssl/macros.h: Rework OPENSSL_FUNC for div C standards
authorRichard Levitte <levitte@openssl.org>
Mon, 16 Sep 2019 14:23:25 +0000 (16:23 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 20 Sep 2019 10:16:48 +0000 (12:16 +0200)
commitec87a649dd2128bde780f6e34a4833d9469f6b4d
treee96148daed6896f6128ae6cdfdc867fb80ab9847
parent6061cd541332b0917e7001814533c01f895200a8
include/openssl/macros.h: Rework OPENSSL_FUNC for div C standards

OPENSSL_FUNC was defined as an alias for __FUNCTION__ with new enough
GNU C, regardless of the language standard used.  We change this
slightly, so this won't happen unless __STDC_VERSION is defined.

Fixes #9911

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9913)
include/openssl/macros.h