2013/8/15 Richard Hipp <[email protected]>:
> Attachments are omitted on this mailing list.
Sorry, I didn't know that. Here is the same patch inline.
(Just move the #endif after the pclose definition)
Thanks!
Regards,
Jan nijtmans
--- src/shell.c
+++ src/shell.c
@@ -69,16 +69,16 @@
#define pclose _pclose
#else
/* Make sure isatty() has a prototype.
*/
extern int isatty(int);
-#endif
/* popen and pclose are not C89 functions and so are sometimes omitted from
** the <stdio.h> header */
FILE *popen(const char*,const char*);
int pclose(FILE*);
+#endif
#if defined(_WIN32_WCE)
/* Windows CE (arm-wince-mingw32ce-gcc) does not provide isatty()
* thus we always assume that we have a console. That can be
* overridden with the -batch command line option.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users