Can't build on mingw
AutomationD opened this issue · 2 comments
AutomationD commented
I'm getting this error when building on Windows (mingw):
... depend build/spiffs_check.d
... depend build/spiffs_cache.d
... depend build/spiffs_hydrogen.d
... depend build/spiffs_gc.d
... depend build/spiffs_nucleus.d
... depend build/main.d
... compile build/main.o
In file included from src/main.c:1:0:
./src/spiffs.h:183:9: error: field '_errno' declared as a function
s32_t errno;
^
AutomationD commented
I created these patches - they seem to fix the problem
https://gist.github.com/kireevco/0183f3ca9df19ce7f9d7
There is an issue with errno.