summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdlib.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@users.noreply.github.com>2016-09-04 11:30:25 +0200
committerGitHub <noreply@github.com>2016-09-04 11:30:25 +0200
commite13ee56ffabd908059f5bc74c85d22370ea39412 (patch)
treefda21ad0ba4181f3c5a929bc6ad3ab26f663f8d0 /ACE/ace/OS_NS_stdlib.inl
parent0ce207c1a728b55cdb5a7cee832d89e6e47ff7b0 (diff)
parentc4f77c4178fbd6546342ddf55a2ffc92af91729c (diff)
downloadATCD-e13ee56ffabd908059f5bc74c85d22370ea39412.tar.gz
Merge pull request #262 from ops/master
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 */
}