summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PACE/ChangeLog8
-rw-r--r--PACE/pace/config/config.h6
-rw-r--r--PACE/pace/posix/aio.inl2
3 files changed, 14 insertions, 2 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index d919d576feb..723134d0636 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,6 +1,12 @@
+Sat Jul 29 09:08:15 2000 David L. Levine <levine@cs.wustl.edu>
+
+ * pace/config/config.h,pace/posix/aio.inl (aio_suspend):
+ added PACE_AIO_SUSPEND_LIST_ARG_CAST, with special value
+ on OSF1 (DIGITAL_UNIX).
+
Fri Jul 28 18:11:24 2000 David L. Levine <levine@cs.wustl.edu>
- * RAEDME: mention LynxOS' non-standard signal interface.
+ * README: mention LynxOS' non-standard signal interface.
Fri Jul 28 15:54:38 2000 Joe Hoffert <joeh@cs.wustl.edu>
diff --git a/PACE/pace/config/config.h b/PACE/pace/config/config.h
index 5dbd3b73cf2..09bddf6eb7c 100644
--- a/PACE/pace/config/config.h
+++ b/PACE/pace/config/config.h
@@ -58,9 +58,15 @@
#if PACE_HAS_POSIX == PACE_LYNXOS
# define PACE_NONCONST_ARG_CAST(TYPE) (TYPE)
# define PACE_VOIDSTARTSTAR_ARG_CAST(TYPE) (TYPE)
+# define PACE_AIO_SUSPEND_LIST_ARG_CAST (struct aiocb **)
+#elif PACE_HAS_POSIX == DIGITAL_UNIX
+# define PACE_NONCONST_ARG_CAST(TYPE) (TYPE)
+# define PACE_VOIDSTARTSTAR_ARG_CAST(TYPE)
+# define PACE_AIO_SUSPEND_LIST_ARG_CAST (const struct aiocb **)
#else /* ! PACE_LYNXOS */
# define PACE_NONCONST_ARG_CAST(TYPE)
# define PACE_VOIDSTARTSTAR_ARG_CAST(TYPE)
+# define PACE_AIO_SUSPEND_LIST_ARG_CAST
#endif /* ! PACE_LYNXOS */
/* Adding appropriate macros for the different POSIX units of
diff --git a/PACE/pace/posix/aio.inl b/PACE/pace/posix/aio.inl
index f919142b4cd..d219c0cabf9 100644
--- a/PACE/pace/posix/aio.inl
+++ b/PACE/pace/posix/aio.inl
@@ -65,7 +65,7 @@ pace_aio_suspend (const pace_aiocb * const list[],
int nent,
const pace_timespec * timeout)
{
- return aio_suspend (PACE_NONCONST_ARG_CAST (struct aiocb **) list,
+ return aio_suspend (PACE_AIO_SUSPEND_LIST_ARG_CAST list,
nent,
PACE_NONCONST_ARG_CAST (struct timespec *) timeout);
}