1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-03 16:53:36 +03:00

Fix the build of the command-line shell on windows. Windows uses "_pclose"

rather than "pclose" as the pointer to the function that closes a popen pipe.

FossilOrigin-Name: b003b2b2b6ddbfc6ec508b47904e6d095c5f6940
This commit is contained in:
drh
2013-06-29 15:40:22 +00:00
parent 8d56e2059c
commit 12cd6cfd6e
3 changed files with 8 additions and 8 deletions

View File

@@ -67,7 +67,7 @@
#undef popen
#define popen(a,b) _popen((a),(b))
#undef pclose
#define pclose(x) _pclose(x)
#define pclose _pclose
#else
/* Make sure isatty() has a prototype.
*/