LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   OS Conditional Defines (https://www.linuxquestions.org/questions/programming-9/os-conditional-defines-95440/)

kevin.cowley 09-22-2003 06:19 AM

OS Conditional Defines
 
When compiling using any C compile for different OS's it is often necessary to use

#indef <os_tag>
<code>
#endif

The OS tag for SCO systems in _SCO_DS

Anyone know what the standard definitions are for various varieties of Linux are?

Specifically RedHat and Suse.

joki 09-24-2003 03:54 PM

i dont think so, cause it depends only on the type of system.
distributions only differ in the amount of packages or the use of special kernels.

but as long as the kernel-architecture is mainly the same ( i think linux kernels are ) you couldn't make a difference between distributions but kernel-versions


All times are GMT -5. The time now is 10:14 PM.