Fossil

Check-in [4f0c38d8]
Login

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

Overview
Comment:Fix the build for unix.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | win32File
Files: files | file ages | folders
SHA1:4f0c38d81d037018fb7b356cf6be684b968cdbac
User & Date: drh 2013-12-14 00:16:40
Context
2013-12-14
01:54
Improve comments. Style and consistency fixes. check-in: d1b7c876 user: mistachkin tags: win32File
00:16
Fix the build for unix. check-in: 4f0c38d8 user: drh tags: win32File
00:03
Work in progress on refactoring the complex Win32-specific file routines into their own subsystem. check-in: 4f041338 user: mistachkin tags: win32File
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/file.c.

54
55
56
57
58
59
60
61
62
63
64
65




66
67
68
69
70
71
72

#if defined(_WIN32) && (defined(__MSVCRT__) || defined(_MSC_VER))
struct fossilStat {
    i64 st_size;
    i64 st_mtime;
    int st_mode;
};
#else
# define fossilStat stat
#endif

#endif /* INTERFACE */





/*
** On Windows S_ISLNK always returns FALSE.
*/
#if !defined(S_ISLNK)
# define S_ISLNK(x) (0)
#endif







<
<



>
>
>
>







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