adaint.c (w32_epoch_offset): Define static const at file level.
authorDanny Smith <dannysmith@users.sourceforge.net>
Thu, 23 Oct 2003 09:58:59 +0000 (09:58 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Thu, 23 Oct 2003 09:58:59 +0000 (09:58 +0000)
commit8f4eb34be674c9a0f3f8fe9ed22516a5c622aabc
tree8e3a6c1b0c4341cf207bd4235717ef741a10680a
parent448ec26cf73c72bc4293f99d56ac465b0d48f11d
adaint.c (w32_epoch_offset): Define static const at file level.

* 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.

From-SVN: r72840
gcc/ada/ChangeLog
gcc/ada/adaint.c