Add cygwin support for compiling spiffsimg
This commit is contained in:
parent
727ff91155
commit
04981f7369
|
@ -9,6 +9,8 @@ typedef int16_t s16_t;
|
|||
typedef uint16_t u16_t;
|
||||
typedef int8_t s8_t;
|
||||
typedef uint8_t u8_t;
|
||||
typedef long long ptrdiff_t;
|
||||
|
||||
#ifndef __CYGWIN__
|
||||
typedef long long ptrdiff_t;
|
||||
#define offsetof(type, member) __builtin_offsetof (type, member)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue