Closed tedli closed 7 years ago
when building the hello world example using a mingw toolchain, faild with no definition for usleep. do some searching found that the usleep is defined in unistd.h. after add the block
hello world example
usleep
unistd.h
#if defined(__GNUC__) && defined(__MINGW32__) #include <unistd.h> #endif
build passed and run as expect.
Thanks @tedli for this fix. Happy to hear that silicon compiles with MinGW :)
when building the
hello world example
using a mingw toolchain, faild with no definition forusleep
. do some searching found that theusleep
is defined inunistd.h
. after add the blockbuild passed and run as expect.