OSDN Git Service

* ada/adaint.c (w32_epoch_offset): Define static const at file
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2003 09:58:59 +0000 (09:58 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2003 09:58:59 +0000 (09:58 +0000)
commit982e2721ce7b141e0b856a87f3eb953494c1a481
tree8e3a6c1b0c4341cf207bd4235717ef741a10680a
parent3ce7ab5faeffaebf474878fc647fe622a1fdba38
* ada/adaint.c (w32_epoch_offset): Define static const at file
level.
(win32_filetime): Replace offset with w32_epoch_offset. Use NULL
rather than t_create, t_access in call to GetFileTime. Use union
to convert between FILETIME and  unsigned long long.
(__gnat_file_time_name): Test for invalid file handle.
(__gnat_set_filetime_name): Support win32 targets using
w32api SetFileTime.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72840 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/adaint.c