summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdlib.inl
diff options
context:
space:
mode:
authorOlli Savia <ops@iki.fi>2016-09-09 17:47:40 +0300
committerOlli Savia <ops@iki.fi>2016-09-09 17:47:40 +0300
commitc982c07989a3286e0f91705f0583b1ffad2dcda0 (patch)
treed628705a8c361d1f2ac353cf700fb9fd9ed801ee /ACE/ace/OS_NS_stdlib.inl
parent376300884df0d01977f37baac26040e6bcee8e25 (diff)
downloadATCD-c982c07989a3286e0f91705f0583b1ffad2dcda0.tar.gz
Take 2: Handle system functions that may be defined as macros on some platforms
Diffstat (limited to 'ACE/ace/OS_NS_stdlib.inl')
-rw-r--r--ACE/ace/OS_NS_stdlib.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_stdlib.inl b/ACE/ace/OS_NS_stdlib.inl
index 2c0f4c36991..cb59874b3cf 100644
--- a/ACE/ace/OS_NS_stdlib.inl
+++ b/ACE/ace/OS_NS_stdlib.inl
@@ -431,7 +431,7 @@ ACE_OS::rand_r (unsigned int *seed)
*seed = (unsigned int)new_seed;
return (int) (new_seed & RAND_MAX);
#else
- return ::rand_r (seed);
+ return ace_rand_r_helper (seed);
# endif /* ACE_LACKS_RAND_R */
}