Re: where is #define __linux__

2001-01-09 Thread Aaron Brashears
On Tue, Jan 09, 2001 at 02:22:45PM +0100, Marcus Brinkmann wrote: > Just as a side note, think twice (or even thrice) before using that symbols. > Is the code really linux specific? For example, a Linux kernel feature > certainly is, but many other things aren't. Often it is more appropriate > to c

where is #define __linux__

2001-01-09 Thread Aaron Brashears
I'm doing some code which is intended to work on linux and sunos. I was poking through the header files in /usr/include on my debian box and found a line in g++-3/stl_config.h which specified: #if defined(__linux__) after a quick test, I found out this is true on linux, and not true on solaris w