Mail Archives: djgpp/2001/07/31/04:49:25
On 31 Jul 2001, Will R wrote:
> >#ifndef __OS__H
> >#define __OS_H
> >
> >#ifndef __LINUX__
> > #ifdef LINUX
> > #define __LINUX__
>
> just one thing -- aren't double underscores not allowed in user
> land?
You are not allowed to _define_ macros which begin with two
underscores, but you are certainly allowed to _depend_ on them.
(Actually, ``are not allowed'' is not accurate here: the ANSI/ISO
standard says that those names are ``reserved for the
implementation''. Which simply means that it's unsafe to define any
such names in application-level code: you might break the compiler,
the library, or your code.)
- Raw text -