diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2007-02-21 22:29:49 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2007-02-21 22:29:49 +0000 |
commit | f11224da696a623a28510aafb10532ca999be51b (patch) | |
tree | 63afe56dbcdb765415669eeb73315cf45b03b9ca /ACE/ace/config-linux.h | |
parent | cc970acff36ed652b93a32c8074558c310349658 (diff) | |
download | ATCD-f11224da696a623a28510aafb10532ca999be51b.tar.gz |
ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/config-linux.h')
-rw-r--r-- | ACE/ace/config-linux.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ACE/ace/config-linux.h b/ACE/ace/config-linux.h index ee3ca24eeeb..ea92fcfa9cc 100644 --- a/ACE/ace/config-linux.h +++ b/ACE/ace/config-linux.h @@ -29,6 +29,16 @@ // ... and the final standard even! #define ACE_HAS_PTHREADS_STD +// On linux this is part of pthreads +# if (defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L) +# if !defined (ACE_HAS_CLOCK_GETTIME) +# if !defined(__PGI) +# define ACE_HAS_CLOCK_GETTIME +# endif /* __PGI */ +# define ACE_HAS_CLOCK_SETTIME +# endif /* !ACE_HAS_CLOCK_GETTIME */ +# endif /* _POSIX_C_SOURCE >= 199309L */ + #if !defined (ACE_HAS_PTHREADS_UNIX98_EXT) # define ACE_LACKS_RWLOCK_T #else |