From c5e1104503f13bb530f9c51bbe5674339675756f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 17 Feb 2024 11:00:19 -0800 Subject: Use AC_C_INLINE instead of ifdef __GNUC__ to check for inline keyword Signed-off-by: Alan Coopersmith --- lisp/mp/mp.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lisp') diff --git a/lisp/mp/mp.h b/lisp/mp/mp.h index c5a74f3..1c28f8b 100644 --- a/lisp/mp/mp.h +++ b/lisp/mp/mp.h @@ -43,11 +43,8 @@ #ifndef __mp_h_ #define __mp_h_ -#ifdef __GNUC__ -#define INLINE __inline__ -#else -#define INLINE /**/ -#endif +/* relies on autoconf's AC_C_INLINE to #define inline if needed */ +#define INLINE inline /* this normally is better for multiplication and also * simplify addition loops putting the larger value first */ -- cgit v1.2.3