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
D-Man wrote:
>
> On Mon, Jan 08, 2001 at 11:05:54PM -0800, Aaron Brashears wrote:
> | 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
On Mon, Jan 08, 2001 at 11:05:54PM -0800, Aaron Brashears wrote:
> 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__)
>
> af
On Mon, Jan 08, 2001 at 11:05:54PM -0800, Aaron Brashears wrote:
>
> While on the topic, is there a
> magic preprocessor definition that lets me know if I'm on
> sunos/solaris?
yes indeedy. multiple.
there is __sun__ to detect solarisORsunos, and __svr4__ to detect
solaris specifically, I beli
On Mon, Jan 08, 2001 at 11:05:54PM -0800, Aaron Brashears wrote:
| 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__)
|
|
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
6 matches
Mail list logo