diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-10 09:54:58 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-10 09:54:58 +0000 |
commit | 14ae7702fedb724f73e693465dfaeeb6151828ff (patch) | |
tree | ca016515e2c39953802eccef1154942b0439e346 /gcc/ada/g-socket.ads | |
parent | 939bf902a79f67bfab6c6dadb633b22f97e4028a (diff) | |
download | gcc-14ae7702fedb724f73e693465dfaeeb6151828ff.tar.gz |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145880 138bc75d-0d04-0410-961f-82ee72b054a4
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); |