Add cygwin support for compiling spiffsimg
@@ -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
