diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-13 18:05:57 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-13 18:05:57 +0000 |
commit | 166b274f7d18e4657e05f279f5a333716330084e (patch) | |
tree | 21aebdb4472884e5519986e82ddad3edb4a8621e | |
parent | dde22af64582c60a98bdc30c40fd851d4a386ed8 (diff) | |
download | ATCD-166b274f7d18e4657e05f279f5a333716330084e.tar.gz |
ChangeLogTag:Fri Nov 13 12:03:18 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r-- | ChangeLog-98b | 9 | ||||
-rw-r--r-- | ace/config-irix6.x-common.h | 3 | ||||
-rw-r--r-- | ace/config-irix6.x-sgic++.h | 3 |
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index 08145523b5e..26f8138d81c 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,3 +1,12 @@ +Fri Nov 13 12:03:18 1998 Carlos O'Ryan <coryan@cs.wustl.edu> + + * ace/config-irix6.x-sgic++.h: + * ace/config-irix6.x-sgic++-nothreads.h: + Under some versions of IRIX 6.X the readdir_r() prototype does + not show up unless threads support (actually POSIX1c support) is + enabled. I've change the config file to only use readdir_r() if + threads are enabled. + Fri Nov 13 08:55:18 1998 David L. Levine <levine@cs.wustl.edu> * tests/Pipe_Test,Process_Mutex_Test.cpp: wrapped some variables diff --git a/ace/config-irix6.x-common.h b/ace/config-irix6.x-common.h index c577fb8d2c1..5ed836d050c 100644 --- a/ace/config-irix6.x-common.h +++ b/ace/config-irix6.x-common.h @@ -128,6 +128,9 @@ //************************************************************** #define ACE_HAS_DIRENT +// Unless the thread enabled version is used the readdir_r interface +// does not get defined in IRIX 6.2 +#define ACE_LACKS_READDIR_R #define ACE_LACKS_RWLOCK_T #define ACE_HAS_GPERF diff --git a/ace/config-irix6.x-sgic++.h b/ace/config-irix6.x-sgic++.h index 3938e9f738b..0a8eef7927d 100644 --- a/ace/config-irix6.x-sgic++.h +++ b/ace/config-irix6.x-sgic++.h @@ -45,6 +45,9 @@ // Scheduling functions are declared in <sched.h> #define ACE_LACKS_SCHED_H +// When threads are enabled READDIR_R is supported on IRIX. +#undef ACE_LACKS_READDIR_R + // Compile using multi-thread libraries #if !defined (ACE_MT_SAFE) #define ACE_MT_SAFE 1 |