diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/ports/IAR/ARMCMx/chtypes.h | 7 | ||||
-rw-r--r-- | os/ports/RVCT/ARMCMx/chtypes.h | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/os/ports/IAR/ARMCMx/chtypes.h b/os/ports/IAR/ARMCMx/chtypes.h index 36e24e5c7..221b2819b 100644 --- a/os/ports/IAR/ARMCMx/chtypes.h +++ b/os/ports/IAR/ARMCMx/chtypes.h @@ -61,15 +61,14 @@ typedef int32_t cnt_t; /**< Resources counter. */ /**
* @brief Packed structure modifier (within).
- * @note It uses the "packed" GCC attribute.
+ * @note Empty in this port.
*/
-#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_STRUCT
/**
* @brief Packed structure modifier (before).
- * @note Empty in this port.
*/
-#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_BEGIN __packed
/**
* @brief Packed structure modifier (after).
diff --git a/os/ports/RVCT/ARMCMx/chtypes.h b/os/ports/RVCT/ARMCMx/chtypes.h index b9baf2502..8619dcdfe 100644 --- a/os/ports/RVCT/ARMCMx/chtypes.h +++ b/os/ports/RVCT/ARMCMx/chtypes.h @@ -61,15 +61,15 @@ typedef int32_t cnt_t; /**< Resources counter. */ /**
* @brief Packed structure modifier (within).
- * @note It uses the "packed" GCC attribute.
+ * @note Empty in this port.
*/
-#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_STRUCT
/**
* @brief Packed structure modifier (before).
* @note Empty in this port.
*/
-#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_BEGIN __packed
/**
* @brief Packed structure modifier (after).
|