forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys/socket: implement compiler agnostic sockaddr_storage alignment
'aligned_data' is compiler dependent, but Open Group Base Specifications describe compiler agnostic solution that can be used: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
- Loading branch information
1 parent
a4b4fd1
commit 63eb12f
Showing
1 changed file
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters