summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_pwd.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_pwd.inl')
-rw-r--r--ACE/ace/OS_NS_pwd.inl8
1 files changed, 0 insertions, 8 deletions
diff --git a/ACE/ace/OS_NS_pwd.inl b/ACE/ace/OS_NS_pwd.inl
index 3353f649469..74eae66e517 100644
--- a/ACE/ace/OS_NS_pwd.inl
+++ b/ACE/ace/OS_NS_pwd.inl
@@ -48,14 +48,6 @@ ACE_OS::getpwnam_r (const char *name,
ACE_UNUSED_ARG (bufsize);
ACE_UNUSED_ARG (result);
ACE_NOTSUP_RETURN (0);
-#elif defined (ACE_HAS_STHREADS)
- if (::getpwnam_r (name, pwd, buffer, bufsize) != 0)
- {
- *result = 0;
- return -1;
- }
- *result = pwd;
- return 0;
#else
return ::getpwnam_r (name, pwd, buffer, bufsize, result);
#endif /* ACE_LACKS_PWD_FUNCTIONS */