summaryrefslogtreecommitdiff
path: root/gcc/ada/sysdep.c
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-15 16:18:57 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-15 16:18:57 +0000
commit1bd3f33a0b7d708333e4771d9cfe12ad4b6db070 (patch)
tree863c7eddf9a5402c4539ec52df0aaf172ff9cc93 /gcc/ada/sysdep.c
parent8940184097da7b5a231a503644d2ae234d5cc12d (diff)
downloadgcc-1bd3f33a0b7d708333e4771d9cfe12ad4b6db070.tar.gz
2005-03-08 Matthew Gingell <gingell@adacore.com>
* 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
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r--gcc/ada/sysdep.c8
1 files changed, 3 insertions, 5 deletions
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 *);