> -----Original Message----- > From: sqlite-users-boun...@sqlite.org > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Max Vlasov > Sent: Wednesday, October 22, 2014 5:25 AM > To: General Discussion of SQLite Database > Subject: [sqlite] Is msvcrt coupling now unavoidable (3.8.7)? ... > my static linking with Delphi for 3.7.8 version now complains about > _beginthreadex_/_endthreadex_. ... > programs never used msvcrt. Now probably I either have no choice to > including msvcrt linking of make my own "de-wrapper" so some > function that > accepts _beginthreadex_ and calls CreateThread. Or can sqlite > introduce > some define that makes vs run time coupled by default, but by > disabling it, > uses CreateThread api? ...
It's a good question; and it doesn't look like there is a great way of turning off that feature other than SQLITE_THREADSAFE=0, which you might not want for other reasons. I would suggest to the maintainers, though, that CreateThread be used by 'default', unless _MSC_VER is defined, (which means msvc is being used to compile), since this is a MSVC-specific concept. I'm a little surprised that <process.h> is not also giving you trouble, but I guess the other compiler vendors targetting Windows made their own version of it. I don't know what the feature is for, but a cursory scan seems to show it's for a background sorter. I'm also a little surprised there is not a SQLITE_OMIT_XXX around it, as well. Oh well, there's always 3.8.6 while you wait for a fix. -dave _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users