source: azure_iot_hub/trunk/musl-1.1.18/include/stdalign.h@ 388

Last change on this file since 388 was 388, checked in by coas-nagasima, 5 years ago

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 409 bytes
Line 
1#ifndef _STDALIGN_H
2#define _STDALIGN_H
3
4#ifndef __cplusplus
5
6/* this whole header only works in C11 or with compiler extensions */
7#if __STDC_VERSION__ < 201112L && defined( __GNUC__)
8#define _Alignas(t) __attribute__((__aligned__(t)))
9#define _Alignof(t) __alignof__(t)
10#endif
11
12#define alignas _Alignas
13#define alignof _Alignof
14
15#endif
16
17#define __alignas_is_defined 1
18#define __alignof_is_defined 1
19
20#endif
Note: See TracBrowser for help on using the repository browser.