Re: #define __linux__

Bernhard Rosenkraenzer (linux@microsoft.sucks.eu.org)
Sun, 23 Aug 1998 01:37:59 +0200 (CEST)


On Sat, 22 Aug 1998, Kenneth Johansson wrote:

> Now where is __linux__ set?? I can not find a single define for this and
> yet when I compile with the normal compiler its set.

GCC automatically defines __linux__ when compiling for linux.
This is defined in the gcc specs file, usually
(/usr/lib/gcc-lib/platform/version/specs)

LLaP
bero

-- 
Windows 98 supports real multitasking - it can boot and crash simultaneously.
***
Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html