summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_dirent.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-05-25 18:34:16 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-05-25 18:34:16 +0000
commit122d2106a3ea148d3f1b42dc7530969fc63573e9 (patch)
tree8432823b0b0f1a540a102c47f1e0dc1ff66b23ef /ACE/ace/OS_NS_dirent.h
parentf264854ca9fe58101a79a450badb23905955a10c (diff)
downloadATCD-122d2106a3ea148d3f1b42dc7530969fc63573e9.tar.gz
Mon May 25 18:21:40 UTC 2009 Carlos O'Ryan <coryan@atdesk.com>
Diffstat (limited to 'ACE/ace/OS_NS_dirent.h')
-rw-r--r--ACE/ace/OS_NS_dirent.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_dirent.h b/ACE/ace/OS_NS_dirent.h
index c9f581549a2..1521fbaa13b 100644
--- a/ACE/ace/OS_NS_dirent.h
+++ b/ACE/ace/OS_NS_dirent.h
@@ -40,7 +40,10 @@
// uses void*, that's handled internal to the ACE_OS::scandir() wrapper using
// the ACE_SCANDIR_OS_COMPARATOR.
extern "C" {
-#if defined (ACE_SCANDIR_CMP_USES_VOIDPTR)
+#if defined (ACE_SCANDIR_CMP_USES_CONST_DIRECT)
+ typedef int (*ACE_SCANDIR_OS_COMPARATOR)(ACE_DIRENT const **f1,
+ ACE_DIRENT const **f2);
+#elif defined (ACE_SCANDIR_CMP_USES_VOIDPTR)
typedef int (*ACE_SCANDIR_OS_COMPARATOR)(void *f1, void *f2);
#elif defined (ACE_SCANDIR_CMP_USES_CONST_VOIDPTR)
typedef int (*ACE_SCANDIR_OS_COMPARATOR)(const void *f1, const void *f2);