aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-oscons-tmplt.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-05-30 21:13:59 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-05-30 21:13:59 +0000
commit329be64b06b51c21981dc9aba66da805dc4398bf (patch)
tree939ed8411c661f6e8dcf7ab478a1cc1abfa98185 /gcc/ada/s-oscons-tmplt.c
parentc67e8801d95237cf126a5b8ad6c2f59fc92c455a (diff)
downloadgcc-329be64b06b51c21981dc9aba66da805dc4398bf.zip
gcc-329be64b06b51c21981dc9aba66da805dc4398bf.tar.gz
gcc-329be64b06b51c21981dc9aba66da805dc4398bf.tar.bz2
adaint.c: Test for __linux__ instead of linux and __sun__ instead of sun.
* adaint.c: Test for __linux__ instead of linux and __sun__ instead of sun. Add missing leading underscore to AIX. Remove #elif 0. * adaint.h: Likewise. * cio.c: Likewise. * cstreams.c: Likewise. * env.c: Likewise. * gsocket.h: Likewise. * init.c: Likewise. Test for __i386__ instead of i386. * link.c: Likewise. * s-oscons-tmplt.c: Likewise. * sysdep.c: Likewise. * terminals.c: Likewise. Use BSD symbol instead of FREEBSD. * tracebak.c: Likewise. Test for __sparc__ instead of sparc. From-SVN: r223890
Diffstat (limited to 'gcc/ada/s-oscons-tmplt.c')
-rw-r--r--gcc/ada/s-oscons-tmplt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c
index 053d4a7..55ecfee 100644
--- a/gcc/ada/s-oscons-tmplt.c
+++ b/gcc/ada/s-oscons-tmplt.c
@@ -1014,7 +1014,7 @@ CNU(RTS_CONTROL_ENABLE, "Enable RTS flow ctrl")
*/
-#if defined (__FreeBSD__) || defined (linux)
+#if defined (__FreeBSD__) || defined (__linux__)
# define PTY_Library "-lutil"
#else
# define PTY_Library ""
@@ -1321,7 +1321,7 @@ CND(SIZEOF_tv_usec, "tv_usec")
** hard-wired limit of 100 million.
** On IA64 HP-UX the limit is 2**31 - 1.
**/
-#if defined (sun)
+#if defined (__sun__)
# define MAX_tv_sec "100_000_000"
#elif defined (__hpux__)