Merge pull request #174 from cesanta/ti_packed

TI compiler supports __attribute__((packed))
This commit is contained in:
Peter Andersson
2017-10-10 11:21:45 +02:00
committed by GitHub
+2 -2
View File
@@ -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 */