Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-22-2003, 06:19 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
OS Conditional Defines

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

#indef <os_tag>

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.
Old 09-24-2003, 03:54 PM   #2
LQ Newbie
Registered: Sep 2003
Location: stralsund/germany
Distribution: gentoo
Posts: 14

Rep: Reputation: 0
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
typedef defines which type? kpachopoulos Programming 1 11-10-2005 02:46 AM
override defines alaios Programming 1 09-14-2005 10:40 AM
What kind of Video Card Defines me as a Person? PrimaryDataLoop Linux - Hardware 5 07-09-2003 02:24 PM
Which configuration file defines the driver module for network card? yuzuohong Linux - General 1 06-04-2003 08:44 AM
File that defines root command prompt? WeNdeL Linux - Newbie 6 11-20-2002 12:28 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration