"Star Liu" <[EMAIL PROTECTED]> writes:

> I read this line in a c source file:
> #if defined (__sun) && (defined(__i386) || defined(__amd64))
> I'm wondering where are __sun  __amd and 64 __i386 defined?

They're defined by the compiler.  There's a "standard" set of such defines
that the compiler sets up automatically (standard in the sense that every
time I need to figure out what they are, I have to go grovelling through
arcane compiler flags or obscure documentation).

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to