repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git]
/
TAO
/
DevGuideExamples
/
RTCORBA
/
common.cpp
blob
1446635a6bf8b1aacaea4ca7f493611564428c59
1
#include
"common.h"
2
3
CORBA
::
ULong
4
get_total_lanes
()
5
{
6
#if defined (ACE_LINUX)
7
return
1
;
8
#elif defined (ACE_CONFIG_WIN32_H)
9
return
3
;
10
#else
11
return
5
;
12
#endif
13
}
14
15
CORBA
::
Short
16
get_increment
()
17
{
18
return
1
;
19
}
20