1
0
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:
cuz 2006-03-30 19:49:03 +00:00
parent d187424389
commit 4c0720709b

View File

@ -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));