Add cygwin support for compiling spiffsimg

This commit is contained in:
TerryE 2018-07-10 12:46:05 +01:00
parent 727ff91155
commit 04981f7369
1 changed files with 3 additions and 1 deletions

View File

@ -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