diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-27 23:25:25 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-27 23:25:25 +0000 |
commit | 68dc9ffd169382a511a0a139e8fb67882527a998 (patch) | |
tree | 0af547b17850c87e5fba56d10d42ab6e25808934 /ace/OS.i | |
parent | 25912b0515a9002efbef64749e2d70dfea7a72f4 (diff) | |
download | ATCD-68dc9ffd169382a511a0a139e8fb67882527a998.tar.gz |
(readdir_r): added __USE_POSIX test for three-arg ::readdir_r
Diffstat (limited to 'ace/OS.i')
-rw-r--r-- | ace/OS.i | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10413,9 +10413,10 @@ ACE_OS::readdir_r (DIR *dirp, { #if defined (ACE_HAS_DIRENT) && !defined (ACE_LACKS_READDIR_R) -# if (defined (sun) && defined (_POSIX_PTHREAD_SEMANTICS)) || \ +# if (defined (sun) && defined (_POSIX_PTHREAD_SEMANTICS)) || \ (!defined (sun) && (defined (ACE_HAS_PTHREADS_STD) || \ - defined (ACE_HAS_PTHREADS_DRAFT7))) + defined (ACE_HAS_PTHREADS_DRAFT7) || \ + defined (__USE_POSIX))) return ::readdir_r (dirp, entry, result); # else /* ! POSIX.1c - this is draft 4 or draft 6 */ # if defined (HPUX_10) /* But HP 10.x doesn't follow the draft either */ |