134 #if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050U)
135 #define PACKED__ __attribute__((packed))
136 #define PACKED_STRUCT struct PACKED__
137 #else
138 #define PACKED__(TYPE) __packed TYPE
139 #define PACKED_STRUCT PACKED__(struct)
140 #endif
141#elif defined ( __GNUC__ )
142 #define PACKED__ __attribute__((packed))
143 #define PACKED_STRUCT struct PACKED__
144#elif defined (__ICCARM__)
145 #define PACKED_STRUCT __packed struct
146#else
147 #define PACKED_STRUCT __packed struct
148#endif
149
150#ifdef __cplusplus
151 }
152#endif
153
154#endif /*__STM32_WPAN_COMMON_H */
155
156/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.