File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
+ #include " ns_list.h"
17
18
#include " netsocket/NetworkInterface.h"
18
19
#include " netsocket/NetworkStack.h"
19
20
#include " platform/Callback.h"
20
21
#include " platform/mbed_error.h"
21
22
#include < string.h>
22
- #include " ns_list.h"
23
23
24
24
// Default network-interface state
25
25
void NetworkInterface::set_as_default ()
Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ struct SingletonPtr {
131
131
132
132
// This is zero initialized when in global scope
133
133
mutable void *_ptr;
134
- #if __cplusplus >= 201103L
135
- // Align data appropriately
134
+ #if __cplusplus >= 201103L && !defined __CC_ARM
135
+ // Align data appropriately (ARM Compiler 5 does not support alignas in C++11 mode)
136
136
alignas (T) mutable char _data[sizeof(T)];
137
137
#else
138
138
// Force data to be 8 byte aligned
You can’t perform that action at this time.
0 commit comments