"Nils Petter Vaskinn" <no@spam.for.me.invalid> wrote in message
news:pa****************************@spam.for.me.in valid...
On Thu, 16 Oct 2003 02:32:43 -0400, Bill Cunningham wrote:
I was browsing the linux kernel source and came across something I've
never seen. Here's an example
#define (thismacro)
#define (1<<(thismacro))
What is this doing? Why the parenthesis around the macro defines, on
each line?
Doesn't look like C, are you sure you didn't miss anything in your
example? It might be a gcc specific thing though, but a quick glance at
the gcc info pages didn't shed any light on it.
Looking at the actual usage instead of your example might help shed some
light on it.
Kernel version?
File?
Line?
regards
It figures. Now I can't find it but I believe it had something to do with
sys calls or calling sys calls. I'll keep looking. I'm almost sure I've seen
code like
#define (something)
before in a header or source file. But if it's a syntax error, maybe I'm
mistaken.
Bill
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----