summaryrefslogtreecommitdiff
path: root/PACE
diff options
context:
space:
mode:
authorluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-18 20:19:23 +0000
committerluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-18 20:19:23 +0000
commit9340db90936d70c4a1d795d0775b7acd2038f6ea (patch)
treed52d403631a2ebc57cb743444580961134072eee /PACE
parent3df516294fdb17203203fd2f3b307a2b73c838cf (diff)
downloadATCD-9340db90936d70c4a1d795d0775b7acd2038f6ea.tar.gz
Tue Jul 18 15:13:40 2000 Luther J Baker <luther@cs.wustl.edu>
Diffstat (limited to 'PACE')
-rw-r--r--PACE/ChangeLog12
-rw-r--r--PACE/docs/PACE_POSIX_support.txt3
-rw-r--r--PACE/pace/win32/times.h9
-rw-r--r--PACE/pace/win32/times.inl3
4 files changed, 22 insertions, 5 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index 5a69d6a7bbf..45e7d00b2fe 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,3 +1,15 @@
+Tue Jul 18 15:13:40 2000 Luther J Baker <luther@cs.wustl.edu>
+
+ * pace/win32/times.h:
+ * pace/win32/times.inl:
+
+ Fixed type support.
+ Eliminated unsupported funcs (return -1 and set ernno).
+
+ * docs/PACE_POSIX_support.txt:
+
+ Updated.
+
Tue Jul 18 15:09:09 2000 Luther J Baker <luther@cs.wustl.edu>
* pace/win32/time.inl:
diff --git a/PACE/docs/PACE_POSIX_support.txt b/PACE/docs/PACE_POSIX_support.txt
index 67b09b20133..a354865ab05 100644
--- a/PACE/docs/PACE_POSIX_support.txt
+++ b/PACE/docs/PACE_POSIX_support.txt
@@ -239,4 +239,7 @@ FILE linux lynxos sunos win32
timer_gettime() x
timer_settime() x
tzset() x
+.............................................................
+<times.h>
+ times() x
............................................................. \ No newline at end of file
diff --git a/PACE/pace/win32/times.h b/PACE/pace/win32/times.h
index e9762afea1f..26a500cbf76 100644
--- a/PACE/pace/win32/times.h
+++ b/PACE/pace/win32/times.h
@@ -16,20 +16,21 @@
#ifndef PACE_SYS_TIMES_H_WIN32
#define PACE_SYS_TIMES_H_WIN32
-#include <sys/times.h>
-
#if defined (PACE_HAS_CPLUSPLUS)
extern "C" {
#endif /* PACE_HAS_CPLUSPLUS */
#ifndef PACE_CLOCK_T
#define PACE_CLOCK_T
-typedef clock_t pace_clock_t;
+ /* Temporary until we emulate this correctly. */
+ typedef int clock_t;
+ typedef clock_t pace_clock_t;
#endif /* PACE_CLOCK_T */
#ifndef PACE_TMS
#define PACE_TMS
-typedef struct tms pace_tms;
+ /* Temporary until we emulate this correctly. */
+ typedef struct tms { int a_; } pace_tms;
#endif /* PACE_TMS */
#if defined (PACE_HAS_CPLUSPLUS)
diff --git a/PACE/pace/win32/times.inl b/PACE/pace/win32/times.inl
index 57c47373e9c..1f4765882dc 100644
--- a/PACE/pace/win32/times.inl
+++ b/PACE/pace/win32/times.inl
@@ -18,6 +18,7 @@ PACE_INLINE
pace_clock_t
pace_times (struct tms * buffer)
{
- return times (buffer);
+ PACE_UNUSED_ARG (buffer);
+ PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_MP_UOF */