mirror of
https://github.com/pellepl/spiffs.git
synced 2026-06-05 21:15:18 +00:00
Merge pull request #174 from cesanta/ti_packed
TI compiler supports __attribute__((packed))
This commit is contained in:
@@ -143,8 +143,8 @@
|
||||
|
||||
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
/* For GCC and clang */
|
||||
#if defined(__GNUC__) || defined(__clang__) || defined(__TI_COMPILER_VERSION__)
|
||||
/* For GCC, clang and TI compilers */
|
||||
#define SPIFFS_PACKED __attribute__((packed))
|
||||
#elif defined(__ICCARM__) || defined(__CC_ARM)
|
||||
/* For IAR ARM and Keil MDK-ARM compilers */
|
||||
|
||||
Reference in New Issue
Block a user