4.104.114.84.95
Last change
on this file since d7588ef was
d7588ef,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/21/98 at 16:39:51
|
Per suggestion from Ralf Corsepius made all macros solaris2 -- not solaris
or solaris2.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* unix.h |
---|
2 | * |
---|
3 | * This include file contains the definitions required by RTEMS |
---|
4 | * which are typical for a modern UNIX computer using GCC. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1998. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * Copyright assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef __UNIX_h |
---|
18 | #define __UNIX_h |
---|
19 | |
---|
20 | #ifdef __cplusplus |
---|
21 | extern "C" { |
---|
22 | #endif |
---|
23 | |
---|
24 | /* |
---|
25 | * This file contains the information required to build |
---|
26 | * RTEMS for a particular member of the "unix" |
---|
27 | * family when executing in protected mode. It does |
---|
28 | * this by setting variables to indicate which implementation |
---|
29 | * dependent features are present in a particular member |
---|
30 | * of the family. |
---|
31 | */ |
---|
32 | |
---|
33 | #if defined(hpux) |
---|
34 | |
---|
35 | #define CPU_MODEL_NAME "HP-UX" |
---|
36 | |
---|
37 | #elif defined(solaris2) |
---|
38 | |
---|
39 | #define CPU_MODEL_NAME "Solaris" |
---|
40 | |
---|
41 | #elif defined(__linux__) |
---|
42 | |
---|
43 | #define CPU_MODEL_NAME "Linux" |
---|
44 | |
---|
45 | #elif defined(linux) |
---|
46 | |
---|
47 | #define CPU_MODEL_NAME "Linux" |
---|
48 | |
---|
49 | #else |
---|
50 | |
---|
51 | #error "Unsupported CPU Model" |
---|
52 | |
---|
53 | #endif |
---|
54 | |
---|
55 | #ifdef __cplusplus |
---|
56 | } |
---|
57 | #endif |
---|
58 | |
---|
59 | #endif |
---|
60 | /* end of include file */ |
---|
61 | |
---|
Note: See
TracBrowser
for help on using the repository browser.