summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/RTCORBA/common.cpp
blob: cece2ceefd9311cb06e304cf9cb33f502e3879b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// $Id$

#include "common.h"

CORBA::ULong
get_total_lanes()
{
#if defined (linux)
  return 1;
#elif defined (ACE_CONFIG_WIN32_H)
  return 3;
#else
  return 5;
#endif
}

CORBA::Short
get_increment()
{
  return 1;
}