SQLite Forum

Building testfixture for Windows on Linux using mingw
> The presence of -DSQLITE_OS_UNIX=1 above seems to indicate an attempt to build the unix version of tesfixture instead.

Well, you *did* use Autoconf here, not something normally associated with Windows. SQLite uses separate MinGW-specific `Makefiles` to avoid this problem for more typical use cases.

What happens if you remove that from the resulting generated `Makefile`?

Alternately, you could just use Cygwin here, which would provide the missing include files and libraries.