summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
authorcrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-11-14 23:06:39 +0000
committercrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-11-14 23:06:39 +0000
commiteab41cd97afb2a288eb6908d068d491ad4a9cb50 (patch)
tree25a1a8bc11599ae83b0aec053399fc0de306f456 /ace/OS.h
parentcd01eefde91752e2ef1c39df165e3a095bd9b695 (diff)
downloadATCD-eab41cd97afb2a288eb6908d068d491ad4a9cb50.tar.gz
ChangeLogTag: Thu Nov 14 22:47:45 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/ace/OS.h b/ace/OS.h
index e6e13e9ac60..27a581d94e5 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -6945,7 +6945,7 @@ typedef ACE_TRANSMIT_FILE_BUFFERS* ACE_LPTRANSMIT_FILE_BUFFERS;
# define ACE_NTOHS(x) x
# endif /* ACE_LITTLE_ENDIAN */
-# if defined (ACE_HAS_AIO_CALLS)
+# if defined (ACE_HAS_POSIX_REALTIME_SIGNALS)
// = Giving unique ACE scoped names for some important
// RTSignal-Related constants. Becuase sometimes, different
// platforms use different names for these constants.
@@ -6961,7 +6961,7 @@ typedef ACE_TRANSMIT_FILE_BUFFERS* ACE_LPTRANSMIT_FILE_BUFFERS;
// some other name. If yes, use that instead of 8.
# define ACE_RTSIG_MAX 8
# endif /* _POSIX_RTSIG_MAX */
-# endif /* ACE_HAS_AIO_CALLS */
+# endif /* ACE_HAS_POSIX_REALTIME_SIGNALS */
// Wrapping around wait status <wstat> macros for platforms that
// lack them.
@@ -7126,13 +7126,21 @@ typedef ACE_TRANSMIT_FILE_BUFFERS* ACE_LPTRANSMIT_FILE_BUFFERS;
//@}
// Defining POSIX4 real-time signal range.
-#if defined ACE_HAS_AIO_CALLS
+#if defined(ACE_HAS_POSIX_REALTIME_SIGNALS)
#define ACE_SIGRTMIN SIGRTMIN
#define ACE_SIGRTMAX SIGRTMAX
-#else /* !ACE_HAS_AIO_CALLS */
+
+#else /* !ACE_HAS_POSIX_REALTIME_SIGNALS */
+
+#ifndef ACE_SIGRTMIN
#define ACE_SIGRTMIN 0
+#endif /* ACE_SIGRTMIN */
+
+#ifndef ACE_SIGRTMAX
#define ACE_SIGRTMAX 0
-#endif /* ACE_HAS_AIO_CALLS */
+#endif /* ACE_SIGRTMAX */
+
+#endif /* ACE_HAS_POSIX_REALTIME_SIGNALS */
# if defined (ACE_LACKS_SYS_NERR)
extern ACE_OS_Export int sys_nerr;