view libtommath/bn_mp_get_i64.c @ 1738:4f13df974cf4

Avoid gnu extension conditional operator
author Matt Johnston <matt@ucc.asn.au>
date Thu, 08 Oct 2020 11:00:04 +0800
parents 1051e4eea25a
children
line wrap: on
line source

#include "tommath_private.h"
#ifdef BN_MP_GET_I64_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */

MP_GET_SIGNED(mp_get_i64, mp_get_mag_u64, int64_t, uint64_t)
#endif