Fossil

Check-in [bf160cf0]
Login

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

Overview
Comment:Include "sys/times.h" in file.c if not compiling on windows. This quiets a compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bf160cf014c53c94ba1051d1590ccce1ba5ab90f
User & Date: drh 2012-12-07 12:57:42
Context
2012-12-07
14:33
Attempt to get click-to-diff working on IE8. check-in: ce99889c user: drh tags: trunk
12:57
Include "sys/times.h" in file.c if not compiling on windows. This quiets a compiler warning. check-in: bf160cf0 user: drh tags: trunk
12:50
Get self-registration working again after adding javascript-activated forms. check-in: 54085d52 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/file.c.

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
** On Windows, include the Platform SDK header file.
*/
#ifdef _WIN32
# include <direct.h>
# include <windows.h>
# include <sys/utime.h>
#endif
#ifdef __CYGWIN__
# include <sys/time.h>
#endif

/*
** The file status information from the most recent stat() call.
**
** Use _stati64 rather than stat on windows, in order to handle files







|
<







33
34
35
36
37
38
39
40

41
42
43
44
45
46
47
/*
** On Windows, include the Platform SDK header file.
*/
#ifdef _WIN32
# include <direct.h>
# include <windows.h>
# include <sys/utime.h>
#else

# include <sys/time.h>
#endif

/*
** The file status information from the most recent stat() call.
**
** Use _stati64 rather than stat on windows, in order to handle files