/ Check-in [b45c076f]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Additional efforts to get it to build on WinCE. (CVS 2875)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b45c076f0d5f7c863287ccb5703c492e1010a99d
User & Date: drh 2006-01-06 20:22:29
Context
2006-01-06
20:40
More changes to support wince. (CVS 2876) check-in: f3cbd995 user: drh tags: trunk
20:22
Additional efforts to get it to build on WinCE. (CVS 2875) check-in: b45c076f user: drh tags: trunk
16:17
A first attempt at adding native support for WinCE. (CVS 2874) check-in: 43440567 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

   639    639     assert( id!=0 );
   640    640     SimulateIOError(SQLITE_IOERR);
   641    641     lowerBits = GetFileSize(((winFile*)id)->h, &upperBits);
   642    642     *pSize = (((i64)upperBits)<<32) + lowerBits;
   643    643     return SQLITE_OK;
   644    644   }
   645    645   
          646  +/*
          647  +** LOCKFILE_FAIL_IMMEDIATELY is undefined on some Windows systems.
          648  +*/
          649  +#ifndef LOCKFILE_FAIL_IMMEDIATELY
          650  +# define LOCKFILE_FAIL_IMMEDIATELY 1
          651  +#endif
          652  +
   646    653   /*
   647    654   ** Acquire a reader lock.
   648    655   ** Different API routines are called depending on whether or not this
   649    656   ** is Win95 or WinNT.
   650    657   */
   651    658   static int getReadLock(winFile *id){
   652    659     int res;