SQLite

Check-in [da4a79e289]
Login

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

Overview
Comment:Get the new large file code working with the Borland compiler. Ticket #195. (CVS 787)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: da4a79e2891aa81e2e6d96689f99b3924f940dd5
User & Date: drh 2002-11-20 11:08:00.000
Context
2002-11-20
11:55
Automatically determine if pointers are 4 or 8 bytes in size during the compilation process. Ticket #190. (CVS 788) (check-in: dd5396a73a user: drh tags: trunk)
11:08
Get the new large file code working with the Borland compiler. Ticket #195. (CVS 787) (check-in: da4a79e289 user: drh tags: trunk)
2002-11-11
13:56
Remove extra from HTML output. Ticket #189. (CVS 786) (check-in: dc5d9c129c user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/os.h.
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#include <windows.h>
#include <winbase.h>
  typedef struct OsFile OsFile;
  struct OsFile {
    HANDLE h;               /* Handle for accessing the file */
    int locked;             /* 0: unlocked, <0: write lock, >0: read lock */
  };
# ifdef _MSC_VER
    typedef __int64 off_t;
# else
    typedef long long off_t;
# endif
# define SQLITE_TEMPNAME_SIZE (MAX_PATH+50)
# define SQLITE_MIN_SLEEP_MS 1
#endif







|







82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#include <windows.h>
#include <winbase.h>
  typedef struct OsFile OsFile;
  struct OsFile {
    HANDLE h;               /* Handle for accessing the file */
    int locked;             /* 0: unlocked, <0: write lock, >0: read lock */
  };
# if defined(_MSC_VER) || defined(__BORLANDC__)
    typedef __int64 off_t;
# else
    typedef long long off_t;
# endif
# define SQLITE_TEMPNAME_SIZE (MAX_PATH+50)
# define SQLITE_MIN_SLEEP_MS 1
#endif