mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 15:40:55 -08:00
GCC does not have "inline" extension when invoked in ANSI or STRICT mode.
This commit is contained in:
parent
76479f7686
commit
f10cae5563
1 changed files with 1 additions and 1 deletions
|
|
@ -701,7 +701,7 @@ union cl_lispunion {
|
|||
/*
|
||||
Type_of.
|
||||
*/
|
||||
#if defined(__cplusplus) || defined(__GNUC__)
|
||||
#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
||||
static inline cl_type type_of(cl_object o) {
|
||||
int i = IMMEDIATE(o);
|
||||
return (i? (cl_type)i : (cl_type)(o->d.t));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue