next up previous contents
Next: Global Standard Definitions (estd) Up: CONVENTIONS Previous: Restrictions on Usage of   Contents

Compile Time Configuration

Environment specific facilities may be implemented in a variety of ways. To support more than one target environment through the same source code, conditional compilation features are often used. Three basic elements of the operating environment are recognized as:

Conventional compile time identifiers that identify the operating environment are placed in a file called "oe.h". When porting the Open C Platform "oe.h" must be properly configured to reflect the target environment.

When developing on a PC-AT running XENIX, my oe.h is configured as:

Click here to see the complete codes.