summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_dirent.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_dirent.inl')
-rw-r--r--ACE/ace/OS_NS_dirent.inl2
1 files changed, 0 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_dirent.inl b/ACE/ace/OS_NS_dirent.inl
index f55ec13406e..d9415fbdfaf 100644
--- a/ACE/ace/OS_NS_dirent.inl
+++ b/ACE/ace/OS_NS_dirent.inl
@@ -37,8 +37,6 @@ opendir (const ACE_TCHAR *filename)
return ::ACE_OS::opendir_emulation (filename);
# elif defined (ACE_HAS_WOPENDIR) && defined (ACE_USES_WCHAR)
return ::wopendir (filename);
-# elif defined (ACE_HAS_NONCONST_OPENDIR)
- return ::opendir (const_cast<char *> (filename));
# else /* ! ACE_WIN32 && ACE_LACKS_OPENDIR */
return ::opendir (ACE_TEXT_ALWAYS_CHAR (filename));
# endif /* ACE_WIN32 && ACE_LACKS_OPENDIR */