diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-10 11:54:58 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-10 11:54:58 +0200 |
commit | 4f64abad80d072773ac390c9a93470dd57da4c31 (patch) | |
tree | ca016515e2c39953802eccef1154942b0439e346 /gcc/ada/g-socket.ads | |
parent | 4dadda8fb0ca2ba78608c3e86afcb2d12d5f7f25 (diff) | |
download | gcc-4f64abad80d072773ac390c9a93470dd57da4c31.tar.gz |
[multiple changes]
2009-04-10 Robert Dewar <dewar@adacore.com>
* make.adb: Add comment.
Minor reformatting
2009-04-10 Nicolas Setton <setton@adacore.com>
* s-osprim-darwin.adb: New file.
* s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec.
2009-04-10 Thomas Quinot <quinot@adacore.com>
* g-socket.ads: Add comment clarifying alignment requirement for Fd_Set
From-SVN: r145880
Diffstat (limited to 'gcc/ada/g-socket.ads')
-rw-r--r-- | gcc/ada/g-socket.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/g-socket.ads b/gcc/ada/g-socket.ads index eab3c301c9e..b730065cc69 100644 --- a/gcc/ada/g-socket.ads +++ b/gcc/ada/g-socket.ads @@ -1096,6 +1096,9 @@ private type Fd_Set is new System.Storage_Elements.Storage_Array (1 .. SOSC.SIZEOF_fd_set); for Fd_Set'Alignment use Interfaces.C.long'Alignment; + -- Set conservative alignment so that our Fd_Sets are always adequately + -- aligned for the underlying data type (which is implementation defined + -- and may be an array of C long integers). type Fd_Set_Access is access all Fd_Set; pragma Convention (C, Fd_Set_Access); |