fossil: Fix building after getpass() in sysroot

This commit is contained in:
Fredrik Fornwall 2018-09-12 08:27:43 +02:00
parent 81d6f9dc0a
commit 5646f1b259
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -u -r ../fossil-2.6/src/main.c ./src/main.c
--- ../fossil-2.6/src/main.c 2018-05-04 12:56:42.000000000 +0000
+++ ./src/main.c 2018-09-12 06:03:45.920702759 +0000
@@ -300,7 +300,7 @@
*/
db_unsave_encryption_key();
#endif
-#if defined(_WIN32) || defined(__BIONIC__)
+#if defined(_WIN32)
/*
** Free the secure getpass() buffer now.
*/

View File

@ -0,0 +1,12 @@
diff -u -r ../fossil-2.6/src/user.c ./src/user.c
--- ../fossil-2.6/src/user.c 2018-05-04 12:56:42.000000000 +0000
+++ ./src/user.c 2018-09-12 06:01:49.062037139 +0000
@@ -40,7 +40,7 @@
blob_append(pBlob, z, -1);
}
-#if defined(_WIN32) || defined(__BIONIC__)
+#if defined(_WIN32)
#ifdef _WIN32
#include <conio.h>
#endif