mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-16 14:21:48 -08:00
ECL was not using 'inline' functions when GCC switched to C99 (A. Hefner)
This commit is contained in:
parent
50cb6b5e07
commit
8a91265468
1 changed files with 3 additions and 1 deletions
|
|
@ -224,7 +224,9 @@ typedef unsigned char ecl_base_char;
|
|||
* C macros for inlining, denoting probable code paths and other stuff
|
||||
* that makes better code. Most of it is GCC specific.
|
||||
*/
|
||||
#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
||||
#if defined(__cplusplus) || \
|
||||
(defined(__GNUC__) && \
|
||||
(defined(__GNUC_GNU_INLINE__) || defined(__GNUC_STDC_INLINE__)))
|
||||
#define ECL_INLINE inline
|
||||
#define ECL_CAN_INLINE 1
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue