Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix the build for unix. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | win32File |
| Files: | files | file ages | folders |
| SHA1: |
4f0c38d81d037018fb7b356cf6be684b |
| User & Date: | drh 2013-12-14 00:16:40.830 |
Context
|
2013-12-14
| ||
| 01:54 | Improve comments. Style and consistency fixes. check-in: d1b7c87650 user: mistachkin tags: win32File | |
| 00:16 | Fix the build for unix. check-in: 4f0c38d81d user: drh tags: win32File | |
| 00:03 | Work in progress on refactoring the complex Win32-specific file routines into their own subsystem. check-in: 4f0413381d user: mistachkin tags: win32File | |
Changes
Changes to src/file.c.
| ︙ | ︙ | |||
54 55 56 57 58 59 60 |
#if defined(_WIN32) && (defined(__MSVCRT__) || defined(_MSC_VER))
struct fossilStat {
i64 st_size;
i64 st_mtime;
int st_mode;
};
| < < > > > > | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
#if defined(_WIN32) && (defined(__MSVCRT__) || defined(_MSC_VER))
struct fossilStat {
i64 st_size;
i64 st_mtime;
int st_mode;
};
#endif
#endif /* INTERFACE */
#if !defined(_WIN32) || !(defined(__MSVCRT__) || defined(_MSC_VER))
# define fossilStat stat
#endif
/*
** On Windows S_ISLNK always returns FALSE.
*/
#if !defined(S_ISLNK)
# define S_ISLNK(x) (0)
#endif
|
| ︙ | ︙ |