diff options
author | John Marino <gnugcc@marino.st> | 2015-06-08 07:27:56 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-06-08 07:27:56 +0000 |
commit | 90af599007327974978d9eac58996e71e0f24663 (patch) | |
tree | 140536a75e83c90805df0c8fccec94af3a96c835 /gcc/ada/sysdep.c | |
parent | 1dbb8d2d3dd1fcf93b4fe0f6f26771ea586abb73 (diff) | |
download | gcc-90af599007327974978d9eac58996e71e0f24663.zip gcc-90af599007327974978d9eac58996e71e0f24663.tar.gz gcc-90af599007327974978d9eac58996e71e0f24663.tar.bz2 |
configure.ac (*-*-dragonfly*): New configuration.
gnattools/
* configure.ac (*-*-dragonfly*): New configuration.
* configure: Regenerate.
gcc/ada/
* a-intnam-dragonfly.ads: New.
* s-osinte-dragonfly.adb: Likewise.
* s-osinte-dragonfly.ads: Likewise.
* system-dragonfly-x86_64.ads: Likewise.
* adaint.c: Add BSD macros.
* cstreams.c: Likewise.
* gsocket.h: Likewise.
* link.c: Likewise.
* socket.c: Likewise.
* env.c: Add __DragonFly__, remove __FreeBSD__ macro.
* init.c: Add __DragonFly__, change __gnat_install_handler
prototype from empty to void.
* initialize.c: Add __DragonFly__.
* sysdep.c: Likewise.
* s-osinte-freebsd.adb: Use __get_errno instead of __error.
* tracebak.c: Set unwinder for i386 BSD.
* gcc-interface/Makefile.in: Add x86_64 DragonFly, tweak
x86_64 FreeBSD and x86 FreeBSD.
From-SVN: r224207
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r-- | gcc/ada/sysdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c index e671ab0..01dae2b 100644 --- a/gcc/ada/sysdep.c +++ b/gcc/ada/sysdep.c @@ -287,7 +287,7 @@ __gnat_ttyname (int filedes) || defined (__MACHTEN__) || defined (__hpux__) || defined (_AIX) \ || (defined (__svr4__) && defined (__i386__)) || defined (__Lynx__) \ || defined (__CYGWIN__) || defined (__FreeBSD__) || defined (__OpenBSD__) \ - || defined (__GLIBC__) || defined (__APPLE__) + || defined (__GLIBC__) || defined (__APPLE__) || defined (__DragonFly__) # ifdef __MINGW32__ # if OLD_MINGW @@ -339,7 +339,7 @@ getc_immediate_common (FILE *stream, || defined (__CYGWIN32__) || defined (__MACHTEN__) || defined (__hpux__) \ || defined (_AIX) || (defined (__svr4__) && defined (__i386__)) \ || defined (__Lynx__) || defined (__FreeBSD__) || defined (__OpenBSD__) \ - || defined (__GLIBC__) || defined (__APPLE__) + || defined (__GLIBC__) || defined (__APPLE__) || defined (__DragonFly__) char c; int nread; int good_one = 0; @@ -359,7 +359,7 @@ getc_immediate_common (FILE *stream, || defined (__MACHTEN__) || defined (__hpux__) \ || defined (_AIX) || (defined (__svr4__) && defined (__i386__)) \ || defined (__Lynx__) || defined (__FreeBSD__) || defined (__OpenBSD__) \ - || defined (__GLIBC__) || defined (__APPLE__) + || defined (__GLIBC__) || defined (__APPLE__) || defined (__DragonFly__) eof_ch = termios_rec.c_cc[VEOF]; /* If waiting (i.e. Get_Immediate (Char)), set MIN = 1 and wait for @@ -820,7 +820,7 @@ __gnat_localtime_tzoff (const time_t *timer ATTRIBUTE_UNUSED, struct tm */ #elif defined (__APPLE__) || defined (__FreeBSD__) || defined (__linux__) \ - || defined (__GLIBC__) + || defined (__GLIBC__) || defined (__DragonFly__) || defined (__OpenBSD__) { localtime_r (timer, &tp); *off = tp.tm_gmtoff; |