* suseconds_t doesn't exist on win32, so use long instead
;; microsecond but also has a range of years.
;; CLH: Note that tv-usec used to be a time-t, but that this seems
;; problematic on Darwin x86-64 (and wrong). Trying suseconds-t.
+#!-win32
+(define-alien-type nil
+ (struct timeval
+ (tv-sec time-t) ; seconds
+ (tv-usec suseconds-t))) ; and microseconds
+
+#!+win32
(define-alien-type nil
- (struct timeval
- (tv-sec time-t) ; seconds
- (tv-usec suseconds-t))) ; and microseconds
+ (struct timeval
+ (tv-sec time-t) ; seconds
+ (tv-usec long))) ; and microseconds
\f
;;;; resourcebits.h
DEFTYPE("ino-t", ino_t);
DEFTYPE("time-t", time_t);
- DEFTYPE("suseconds-t", suseconds_t);
DEFTYPE("off-t", off_t);
DEFTYPE("size-t", size_t);
DEFTYPE("mode-t", mode_t);
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.3.20"
+"1.0.3.21"