2014-05-11 12:02 GMT+02:00 Jan Nijtmans <jan.nijtm...@gmail.com>: > 2014-05-11 1:15 GMT+02:00 Keith Medcalf <kmedc...@dessus.com>: >> 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 >> >> #ifdef SQLITE_MUTEX_W32 >> #include "os_win.h" >> >> needs to be >> >> #include "os_win.h" >> #ifdef SQLITE_MUTEX_W32 >> >> otherwise windows.h is not included early enough and compilation of the vfs >> fails. > > Confirmed! > > 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) > > It's all about configuration isn't it? That's the > simplest way to fix this problem. > > Regards, > Jan Nijtmans
/os_config.h/os_setup.h/ (didn't have the sources at-hand....) Regards, Jan Nijtmans _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users