summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/unix/rtems/score/unix.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 15:00:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 15:00:15 +0000
commitdf49c60c9671e4a28e636964d744c1f59fb6cb68 (patch)
treeeabd85e189514ad412a35414ba5d483dcda3ef1f /cpukit/score/cpu/unix/rtems/score/unix.h
parentPurged as many egcs references as possible. (diff)
downloadrtems-df49c60c9671e4a28e636964d744c1f59fb6cb68.tar.bz2
Merged from 4.5.0-beta3a
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/unix/rtems/score/unix.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/cpukit/score/cpu/unix/rtems/score/unix.h b/cpukit/score/cpu/unix/rtems/score/unix.h
index 26ef8ca4e4..e8a0c7bdd6 100644
--- a/cpukit/score/cpu/unix/rtems/score/unix.h
+++ b/cpukit/score/cpu/unix/rtems/score/unix.h
@@ -29,7 +29,15 @@ extern "C" {
* of the family.
*/
-#if defined(hpux)
+#if defined(rtems_multilib)
+/*
+ * Figure out all CPU Model Feature Flags based upon compiler
+ * predefines.
+ */
+
+#define CPU_MODEL_NAME "rtems_multilib"
+
+#elif defined(hpux)
#define CPU_MODEL_NAME "HP-UX"
@@ -37,13 +45,13 @@ extern "C" {
#define CPU_MODEL_NAME "Solaris"
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(linux)
#define CPU_MODEL_NAME "Linux"
-#elif defined(linux)
+#elif defined(__CYGWIN__)
-#define CPU_MODEL_NAME "Linux"
+#define CPU_MODEL_NAME "Cygwin"
#elif defined(__FreeBSD__)