Use _strdup() instead of strdup() on Windows builds of the CLI, to avoid

a compiler warning reported on the mailing list.

FossilOrigin-Name: a7126a4f4fb4e3e25be95d673323f835252bb2b427469616046a90b2acf64071
This commit is contained in:
drh
2019-01-22 16:44:59 +00:00
parent f186f0b058
commit c5ea2d474d
3 changed files with 10 additions and 7 deletions
+3
View File
@@ -138,6 +138,9 @@ typedef unsigned char u8;
# ifndef unlink
# define unlink _unlink
# endif
# ifndef strdup
# define strdup _strdup
# endif
# undef popen
# define popen _popen
# undef pclose