2015-11-27 12:24:29 +01:00
|
|
|
The crypt(3) function is not available in Android, so remove support
|
|
|
|
in ext for now.
|
|
|
|
|
|
|
|
diff -u -r ../picoLisp/src/ext.c ./src/ext.c
|
2016-02-08 12:26:05 +01:00
|
|
|
--- ../picoLisp/src/ext.c 2015-11-27 02:25:22.000000000 -0500
|
|
|
|
+++ ./src/ext.c 2016-02-08 06:19:58.405969024 -0500
|
|
|
|
@@ -250,6 +250,7 @@
|
|
|
|
return T;
|
|
|
|
}
|
2015-11-27 12:24:29 +01:00
|
|
|
|
|
|
|
+#ifndef __ANDROID__
|
2016-02-08 12:26:05 +01:00
|
|
|
/*** Password hashing ***/
|
|
|
|
// (ext:Crypt 'key 'salt) -> str
|
2015-11-27 12:24:29 +01:00
|
|
|
any Crypt(any x) {
|
|
|
|
@@ -269,3 +270,4 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+#endif
|