Mercurial > emacs
diff lisp/jka-compr.el @ 100885:56164f0c606d
* w32.c: Use 64-bit arithmetic to do FILETIME conversions. (Bug#1766)
(utc_base): Declare as ULONGLONG, not long double.
(convert_time_raw): Delete.
(FILETIME_TO_U64, U64_TO_LISP_TIME): New macros.
(initialize_utc_base): New function.
(convert_time): Use FILETIME_TO_U64, initialize_utc_base.
(convert_from_time_t): Use initialize_utc_base; compute result with
64-bit arithmetic.
(process_times): Use FILETIME_TO_U64, U64_TO_LISP_TIME.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sun, 04 Jan 2009 11:30:13 +0000 |
parents | d42aff5ca541 |
children | a9dc0e7c3f2b |