diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-08-04 11:55:01 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-08-04 11:55:01 +0200 |
commit | 7ed571892e5a8d10c14a674e38b980f60115ceb6 (patch) | |
tree | 552c948ac38795576c199f3d5e08b5c2057d4adb /gcc/ada/cal.c | |
parent | af6478c843c106281461ed5fd93377e61716181d (diff) | |
download | gcc-7ed571892e5a8d10c14a674e38b980f60115ceb6.zip gcc-7ed571892e5a8d10c14a674e38b980f60115ceb6.tar.gz gcc-7ed571892e5a8d10c14a674e38b980f60115ceb6.tar.bz2 |
[multiple changes]
2014-08-04 Robert Dewar <dewar@adacore.com>
* prj-proc.adb, prj-part.adb, prj-strt.adb, prj.adb, prj.ads,
prj-attr.adb, prj-attr.ads: Minor reformatting.
2014-08-04 Yannick Moy <moy@adacore.com>
* expander.adb (Expand): Always perform special
expansion in GNATprove mode, even when doing pre-analysis.
2014-08-04 Thomas Quinot <quinot@adacore.com>
* repinfo.adb (List_Scalar_Storage_Order): List bit order if
not default. Also list bit order if SSO is specified. Do not
assume that bit order is always equal to scalar storage order.
2014-08-04 Thomas Quinot <quinot@adacore.com>
* freeze.adb (Set_SSO_From_Default): Do not set scalar storage
order to reverse SSO for a type that has an explicit native
Bit_Order.
2014-08-04 Doug Rupp <rupp@adacore.com>
* cal.c: Macro check for VxWorks7.
* init.c (getpid): Likewise.
* mkdir.c (__gnat_mkdir): Likewise.
* sysdep.c (__gnat_is_file_not_found_error): Likewise.
2014-08-04 Gary Dismukes <dismukes@adacore.com>
* exp_ch3.adb (Expand_N_Object_Declaration): Inhibit generation
of an invariant check in the case where No_Initialization is set,
since the object is uninitialized.
2014-08-04 Thomas Quinot <quinot@adacore.com>
* snames.ads-tmpl (Default_Scalar_Storage_Order): Now an attribute
name, in addition to a pragma name.
* snames.adb-tmpl (Get_Pragma_Id, Is_Configuration_Pragma_Name,
Is_Pragma_Name): Adjust accordingly.
* sem_attr.ads, sem_attr.adb, exp_attr.adb
(Attribute_Default_Scalar_Storage_Order): Add handling of new
attribute.
* gnat_rm.texi: Document the above.
From-SVN: r213549
Diffstat (limited to 'gcc/ada/cal.c')
-rw-r--r-- | gcc/ada/cal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/cal.c b/gcc/ada/cal.c index 6eb1769..a657286 100644 --- a/gcc/ada/cal.c +++ b/gcc/ada/cal.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 1992-2009, Free Software Foundation, Inc. * + * Copyright (C) 1992-2014, 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- * @@ -55,7 +55,7 @@ __gnat_duration_to_timeval (long sec, long usec, void *t) #ifdef __RTP__ #include <time.h> #include <version.h> -#if (_WRS_VXWORKS_MINOR != 0) +#if (_WRS_VXWORKS_MAJOR == 7) || (_WRS_VXWORKS_MINOR != 0) #include <sys/time.h> #endif #else |