2014-08-12 10:35 GMT+02:00 Jan Nijtmans <jan.nijtm...@gmail.com>:

>
> $ i686-w64-mingw32-gcc -c -DSQLITE_WIN32_NO_ANSI sqlite3.c
> sqlite3.c: In function ‘sqlite3_win32_is_nt’:
> sqlite3.c:33312:10: error: ‘sInfo’ undeclared (first use in this function)
>
>          (sInfo.dwPlatformId == VER_PLATFORM_WIN32_NT) ? 2 : 1, 0);
>           ^
> sqlite3.c:33312:10: note: each undeclared identifier is reported only once
> for each function it appears in
>

Fixed here: <http://www.sqlite.org/src/info/6715991296>

Thanks!

Looking at the function sqlite3_win32_is_nt():
    <http://www.sqlite.org/src/artifact/1c936c7b06?ln=1321-1337>
it's getting more and more complicated, without doing
really anything: It should simply return 1 on any
currently supported platform. Looking closely,
it returns 0 on Windows RT, but who cares ....
(leaving the "why" as practice for the reader)

Best overall-solution can be found here:
    <http://www.sqlite.org/src/info/169fc47e16>
A big +1 from me for this, paying any attention
to Win95 just isn't worth the effort IMHO!

Regards,
         Jan Nijtmans
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to