X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fecp_nistp256.c;h=6381efab455730cc92916c96cddcd9abd49764aa;hp=d8f7e8aa3f3ddb6a4f203cdb620381af4f2c7e09;hb=6afed267db47a8aa604a3a9e78ac72efa02363df;hpb=11a9eacde99f6333707b2399054d66ebbc0eb2a9 diff --git a/crypto/ec/ecp_nistp256.c b/crypto/ec/ecp_nistp256.c index d8f7e8aa3f..6381efab45 100644 --- a/crypto/ec/ecp_nistp256.c +++ b/crypto/ec/ecp_nistp256.c @@ -41,13 +41,13 @@ NON_EMPTY_TRANSLATION_UNIT # include # include "ec_lcl.h" -# if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) +# if defined(__SIZEOF_INT128__) && __SIZEOF_INT128__==16 /* even with gcc, the typedef won't work for 32-bit platforms */ typedef __uint128_t uint128_t; /* nonstandard; implemented by gcc on 64-bit * platforms */ typedef __int128_t int128_t; # else -# error "Need GCC 3.1 or later to define type uint128_t" +# error "Need GCC 4.0 or later to define type uint128_t" # endif typedef uint8_t u8;