summaryrefslogtreecommitdiff
path: root/ace/OS_Dirent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_Dirent.cpp')
-rw-r--r--ace/OS_Dirent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS_Dirent.cpp b/ace/OS_Dirent.cpp
index 2ca31dbd278..58f02e7cc80 100644
--- a/ace/OS_Dirent.cpp
+++ b/ace/OS_Dirent.cpp
@@ -34,7 +34,7 @@ ACE_OS_Dirent::opendir_emulation (const ACE_TCHAR *filename)
ACE_TCHAR extra[3] = {0,0,0};
// Check if filename is a directory.
- DWORD fileAttribute = ::GetFileAttributes (filename);
+ DWORD fileAttribute = ACE_TEXT_GetFileAttributes (filename);
if (fileAttribute == INVALID_FILE_ATTRIBUTES
|| !(fileAttribute & FILE_ATTRIBUTE_DIRECTORY))
return 0;