diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-30 18:39:37 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-30 18:39:37 +0100 |
commit | b2a6ad2ea01ad9ed8e654d158b6486fefdb6936a (patch) | |
tree | 0685635093f03673d7faef4f2794334802e27317 /TAO/DevGuideExamples | |
parent | a46852de783998ac9c3384fdb55277ef3906cf15 (diff) | |
download | ATCD-b2a6ad2ea01ad9ed8e654d158b6486fefdb6936a.tar.gz |
Instead of checking for the linux define use ACE_LINUX, the first doesn't seem to be set on RHEL75
* TAO/DevGuideExamples/RTCORBA/README:
* TAO/DevGuideExamples/RTCORBA/common.cpp:
* TAO/orbsvcs/LoadBalancer/LoadManager.cpp:
* TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp:
* TAO/orbsvcs/orbsvcs/LoadBalancing/LB_CPU_Load_Average_Monitor.cpp:
* TAO/orbsvcs/orbsvcs/LoadBalancing/LB_CPU_Utilization_Monitor.cpp:
* TAO/tests/Time_Policy/main.cpp:
Diffstat (limited to 'TAO/DevGuideExamples')
-rw-r--r-- | TAO/DevGuideExamples/RTCORBA/README | 2 | ||||
-rw-r--r-- | TAO/DevGuideExamples/RTCORBA/common.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/TAO/DevGuideExamples/RTCORBA/README b/TAO/DevGuideExamples/RTCORBA/README index 732b4100d9c..691e6c30d07 100644 --- a/TAO/DevGuideExamples/RTCORBA/README +++ b/TAO/DevGuideExamples/RTCORBA/README @@ -1,5 +1,3 @@ - - DevGuideExamples/RTCORBA/README This directory contains an RTCORBA example illustrating a simple client and diff --git a/TAO/DevGuideExamples/RTCORBA/common.cpp b/TAO/DevGuideExamples/RTCORBA/common.cpp index 4f5a17ce962..1446635a6bf 100644 --- a/TAO/DevGuideExamples/RTCORBA/common.cpp +++ b/TAO/DevGuideExamples/RTCORBA/common.cpp @@ -3,7 +3,7 @@ CORBA::ULong get_total_lanes() { -#if defined (linux) +#if defined (ACE_LINUX) return 1; #elif defined (ACE_CONFIG_WIN32_H) return 3; |