diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-02-17 09:00:19 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-06-16 04:42:57 -0400 |
commit | 059a91ea91b04307feb66fbce62a1279526b7481 (patch) | |
tree | a3a29686fd7d30726e82f94729b84bd8979bea28 /gcc/ada/runtime.h | |
parent | 6e96a5a503d7d927e4147bea873ac43d2f184b6f (diff) | |
download | gcc-059a91ea91b04307feb66fbce62a1279526b7481.zip gcc-059a91ea91b04307feb66fbce62a1279526b7481.tar.gz gcc-059a91ea91b04307feb66fbce62a1279526b7481.tar.bz2 |
[Ada] Small cleanup in C header files
gcc/ada/
* initialize.c: Do not include vxWorks.h and fcntl.h from here.
(__gnat_initialize) [__MINGW32__]: Remove #ifdef and attribute
(__gnat_initialize) [init_float]: Delete.
(__gnat_initialize) [VxWorks]: Likewise.
(__gnat_initialize) [PA-RISC HP-UX 10]: Likewise.
* runtime.h: Add comment about vxWorks.h include.
Diffstat (limited to 'gcc/ada/runtime.h')
-rw-r--r-- | gcc/ada/runtime.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/runtime.h b/gcc/ada/runtime.h index 9bc091f..7721947 100644 --- a/gcc/ada/runtime.h +++ b/gcc/ada/runtime.h @@ -31,9 +31,11 @@ /* This file provides common definitions used by GNAT C runtime files. */ +/* The following include is here to meet the published VxWorks requirement + that the vxWorks.h header appear before any other header. */ #ifdef __vxworks #include "vxWorks.h" -#endif /* __vxworks */ +#endif #ifndef ATTRIBUTE_UNUSED #define ATTRIBUTE_UNUSED __attribute__((unused)) |