diff options
author | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-13 15:39:28 +0000 |
---|---|---|
committer | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-13 15:39:28 +0000 |
commit | caee970a091b3056435309378dce4eea3e468d9c (patch) | |
tree | ccd41a35745fdb8e907988c2dfa3e9c798b26bb6 /ace/config-freebsd-pthread.h | |
parent | f7efc9873b8238c8e80bd57d3b4cee32f519ec1e (diff) | |
download | ATCD-caee970a091b3056435309378dce4eea3e468d9c.tar.gz |
ChangeLogTag: Wed Mar 13 10:36:02 2002 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'ace/config-freebsd-pthread.h')
-rw-r--r-- | ace/config-freebsd-pthread.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/ace/config-freebsd-pthread.h b/ace/config-freebsd-pthread.h index c26647f3192..687ef2cbc18 100644 --- a/ace/config-freebsd-pthread.h +++ b/ace/config-freebsd-pthread.h @@ -206,12 +206,21 @@ extern "C" { char * cuserid (char *s); } #define ACE_HAS_SOCKLEN_T #endif -#if (__FreeBSD_version > 440000) -# define _P1003_1B_VISIBLE -# define ACE_HAS_AIO_CALLS -# define SIGRTMIN 32 -# define SIGRTMAX (_SIG_MAXSIG - 1) -#endif +#include <unistd.h> +#include <signal.h> +/* POSIX Realtime signals are not fully implemented in FreeBSD. + When they are implemented, then _POSIX_REALTIME_SIGNALS will be + defined, as specified in the POSIX standard. + Refer to e-mail thread on freebsd-hackers mailing list, March 2002. */ +#ifdef _POSIX_REALTIME_SIGNALS +# define ACE_HAS_AIO_CALLS +# ifndef SIGRTMIN +# define SIGRTMIN 32 +# endif /* SIGRTMIN */ +# ifndef SIGRTMAX +# define SIGRTMAX (_SIG_MAXSIG - 1) +# endif /* SIGRTMAX */ +#endif /* _POSIX_REALTIME_SIGNALS */ #include "ace/post.h" #endif /* ACE_CONFIG_H */ |