]> git.ipfire.org Git - thirdparty/openssl.git/commit
safe_math.h: Check if __GNUC__ is defined
authorKalavakolanu, Hema Anmisha <hema.anmisha.kalavakolanu@intel.com>
Wed, 18 Dec 2024 05:19:55 +0000 (10:49 +0530)
committerTomas Mraz <tomas@openssl.org>
Thu, 19 Dec 2024 16:45:48 +0000 (17:45 +0100)
commit53b34561b56b60a812f8f65c777d469e18151e8d
tree4599b1a3a276ee4b9976b97cdd10e303ba0179ce
parent009fa4f924d0c89fa16ac487fa2d3f5ba60adc1c
safe_math.h: Check if __GNUC__ is defined

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4880

Facing the below issue after openssl is upgraded

Edk2\CryptoPkg\Library\OpensslLib\openssl\include\internal/safe_math.h(19):
warning C4668: '__GNUC__' is not defined as a preprocessor macro, replacing
with '0' for '#if/#elif'

CLA: trivial

Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Kalavakolanu Hema Anmisha <hema.anmisha.kalavakolanu@intel.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26204)
include/internal/safe_math.h