On 01/13/11 12:04 AM, Alex B. wrote: > Hello, > > I'm searching for Solaris compilation flag. I know that such a flag exists in > all OSs, so I assume, that Solaris also must have one.
Do you mean #ifdef __sun to tell that you are compiling on SunOS/Solaris? The cc man page delivered with the Studio compilers documents the compiler flags, as well as the predefined C macros such as __sun. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code