Added files via upload
[termux-packages] / packages / picolisp / src-ext.c.patch
... / ...
CommitLineData
1The crypt(3) function is not available in Android, so remove support
2in ext for now.
3
4diff -u -r ../picoLisp/src/ext.c ./src/ext.c
5--- ../picoLisp/src/ext.c 2015-11-27 02:25:22.000000000 -0500
6+++ ./src/ext.c 2016-02-08 06:19:58.405969024 -0500
7@@ -250,6 +250,7 @@
8 return T;
9 }
10
11+#ifndef __ANDROID__
12 /*** Password hashing ***/
13 // (ext:Crypt 'key 'salt) -> str
14 any Crypt(any x) {
15@@ -269,3 +270,4 @@
16 }
17 }
18 }
19+#endif