Fossil

Check-in [07463fbf]
Login

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

Overview
Comment:Fix the build on windows by using "_pclose" instead of "pclose".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:07463fbf02a30f32beb6d3fa91cf49440f241195
User & Date: drh 2013-06-29 15:41:28
Context
2013-07-04
19:11
Help text fixes from Andreas Kupries. check-in: f6ad6979 user: stephan tags: trunk
2013-07-01
09:08
rebase Closed-Leaf check-in: d57bddaa user: jan.nijtmans tags: pending-review
2013-06-29
15:41
Fix the build on windows by using "_pclose" instead of "pclose". check-in: 07463fbf user: drh tags: trunk
15:26
Bring in the latest SQLite 3.8.0 alpha version from upstream, for testing. check-in: c3e723e3 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to src/shell.c.

63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#if defined(_WIN32) || defined(WIN32)
# include <io.h>
#define isatty(h) _isatty(h)
#define access(f,m) _access((f),(m))
#undef popen
#define popen(a,b) _popen((a),(b))
#undef pclose
#define pclose(x) _pclose(x)
#else
/* Make sure isatty() has a prototype.
*/
extern int isatty(int);
#endif

#if defined(_WIN32_WCE)







|







63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#if defined(_WIN32) || defined(WIN32)
# include <io.h>
#define isatty(h) _isatty(h)
#define access(f,m) _access((f),(m))
#undef popen
#define popen(a,b) _popen((a),(b))
#undef pclose
#define pclose _pclose
#else
/* Make sure isatty() has a prototype.
*/
extern int isatty(int);
#endif

#if defined(_WIN32_WCE)