-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tz: fix termux compilation on Android
I guess some platforms use `*const u8` for C strings while most seemingly use `*const i8`. And indeed, `CStr::as_ptr` returns a `*const u8` or a `*const i8` depending on the platform. So do the right thing here and use std's `c_char` alias. Ref #140 Fixes #200
- Loading branch information
1 parent
6eba021
commit 663607e
Showing
3 changed files
with
41 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters