Moving alignment information in the nsapi_msghdr_t
Macro MBED_ALIGN expands in C to _Alignas which can't be used in the type declaration. This patch moves it to the first type definition which makes this code compile properly in CPP and C. |
---|
|
connectivity/netsocket/include/netsocket/nsapi_types.h |
---|