mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Fixed a few errors in the macros used by the Watcom compiler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3712 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d187424389
commit
4c0720709b
@ -381,7 +381,7 @@ INLINE int IsTypeArray (const Type* T)
|
|||||||
/* Return true if this is an array type */
|
/* Return true if this is an array type */
|
||||||
{
|
{
|
||||||
return (GetType (T) == T_TYPE_ARRAY);
|
return (GetType (T) == T_TYPE_ARRAY);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define IsTypeArray(T) (GetType (T) == T_TYPE_ARRAY)
|
# define IsTypeArray(T) (GetType (T) == T_TYPE_ARRAY)
|
||||||
#endif
|
#endif
|
||||||
@ -506,7 +506,7 @@ INLINE int IsQualConst (const Type* T)
|
|||||||
return (GetQualifier (T) & T_QUAL_CONST) != 0;
|
return (GetQualifier (T) & T_QUAL_CONST) != 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define IsQualConst(T) (GetQualifier (T) & T_QUAL_CONST) != 0)
|
# define IsQualConst(T) ((GetQualifier (T) & T_QUAL_CONST) != 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
@ -516,7 +516,7 @@ INLINE int IsQualVolatile (const Type* T)
|
|||||||
return (GetQualifier (T) & T_QUAL_VOLATILE) != 0;
|
return (GetQualifier (T) & T_QUAL_VOLATILE) != 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define IsQualVolatile(T) (GetQualifier (T) & T_QUAL_VOLATILE) != 0)
|
# define IsQualVolatile(T) ((GetQualifier (T) & T_QUAL_VOLATILE) != 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
@ -526,7 +526,7 @@ INLINE int IsQualRestrict (const Type* T)
|
|||||||
return (GetQualifier (T) & T_QUAL_RESTRICT) != 0;
|
return (GetQualifier (T) & T_QUAL_RESTRICT) != 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define IsQualRestrict(T) (GetQualifier (T) & T_QUAL_RESTRICT) != 0)
|
# define IsQualRestrict(T) ((GetQualifier (T) & T_QUAL_RESTRICT) != 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int IsFastCallFunc (const Type* T) attribute ((const));
|
int IsFastCallFunc (const Type* T) attribute ((const));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user