From 1bd3f33a0b7d708333e4771d9cfe12ad4b6db070 Mon Sep 17 00:00:00 2001 From: charlet Date: Tue, 15 Mar 2005 16:18:57 +0000 Subject: 2005-03-08 Matthew Gingell * sysdep.c: Implement __gnat_localtime_r as call to localtime_r on AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96510 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/sysdep.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gcc/ada/sysdep.c') diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c index e18fb2276e1..ec6ef7fa6f2 100644 --- a/gcc/ada/sysdep.c +++ b/gcc/ada/sysdep.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 1992-2004 Free Software Foundation, Inc. * + * Copyright (C) 1992-2005 Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -655,16 +655,14 @@ get_gmtoff (void) /* Definition of __gnat_locatime_r used by a-calend.adb */ -#if defined (_AIX) || defined (__EMX__) +#if defined (__EMX__) #define Lock_Task system__soft_links__lock_task extern void (*Lock_Task) (void); #define Unlock_Task system__soft_links__unlock_task extern void (*Unlock_Task) (void); -/* Provide reentrant version of localtime on Aix and OS/2. Note that AiX does - provide localtime_r, but in the library libc_r which doesn't get included - systematically, so we can't use it. */ +/* Provide reentrant version of localtime on OS/2. */ extern struct tm *__gnat_localtime_r (const time_t *, struct tm *); -- cgit v1.2.1