1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

I am not sure why ## was used in this macro, as w/o the string concatenation

the tokens are legal ANSI-C.  Maybe to enable 'op' to be a macro itself?
Anyway, with the ## concatenation Gcc 3.1's integrated `cpp' treats "=op("
as a single token vs. the three tokens it is.
This commit is contained in:
David E. O'Brien 2002-04-17 04:31:43 +00:00
parent 09c0425e56
commit 200e654a4a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94916

View File

@ -201,7 +201,7 @@ tsunami_check_abort(void)
tsunami_check_abort(); \
return ~0; \
} \
data = ##op##(va); \
data = op(va); \
if (tsunami_check_abort()) \
return ~0; \
return data; \
@ -213,7 +213,7 @@ tsunami_check_abort(void)
tsunami_clear_abort(); \
if (badaddr((caddr_t)va, width)) \
return; \
##op##(va, data); \
op(va, data); \
tsunami_check_abort(); \
} while (0)