Re: [sqlite] Code Error -- Cannot compile Amalgamation with SQLITE_THREADSAFE=0 on WIndows

2014-05-11 Thread Joe Mistachkin
Jan Nijtmans wrote: > > My suggestion (FWIW) would be to remove the os_win.h file > altogether and put it's content in os_config.h. (except the > #ifdef __CYGWIN__ part, which doesn't belong here) > I do not think removing the "os_win.h" file is a solution, per se. Short term, modifying

Re: [sqlite] Code Error -- Cannot compile Amalgamation with SQLITE_THREADSAFE=0 on WIndows

2014-05-11 Thread Jan Nijtmans
2014-05-11 12:02 GMT+02:00 Jan Nijtmans : > 2014-05-11 1:15 GMT+02:00 Keith Medcalf : >> Somewhere you have removed the Windows.h header from being included where it >> is needed when SQLITE_THREADSAFE is set to 0 resulting in a failure to >>

Re: [sqlite] Code Error -- Cannot compile Amalgamation with SQLITE_THREADSAFE=0 on WIndows

2014-05-11 Thread Jan Nijtmans
2014-05-11 1:15 GMT+02:00 Keith Medcalf : > Somewhere you have removed the Windows.h header from being included where it > is needed when SQLITE_THREADSAFE is set to 0 resulting in a failure to > recognize windows defines. > > In mutex_w32.c you need to include os_win.h

[sqlite] Code Error -- Cannot compile Amalgamation with SQLITE_THREADSAFE=0 on WIndows

2014-05-10 Thread Keith Medcalf
Somewhere you have removed the Windows.h header from being included where it is needed when SQLITE_THREADSAFE is set to 0 resulting in a failure to recognize windows defines. In mutex_w32.c you need to include os_win.h whether or not SQLITE_MUTEX_W32 is defined. In other words the sequence