mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-08 17:02:25 +02:00
Merge branch 'master' of https://github.com/abraunegg/onedrive
This commit is contained in:
commit
fbf572a3d2
|
@ -27,14 +27,14 @@ sudo apt install libsqlite3-dev
|
|||
curl -fsS https://dlang.org/install.sh | bash -s dmd
|
||||
```
|
||||
|
||||
### Dependencies: Fedora < Version 18 / CentOS 6.x / RHEL 6.x
|
||||
### Dependencies: Fedora < Version 18 / CentOS / RHEL
|
||||
```sh
|
||||
sudo yum install libcurl-devel
|
||||
sudo yum install sqlite-devel
|
||||
curl -fsS https://dlang.org/install.sh | bash -s dmd
|
||||
```
|
||||
|
||||
### Dependencies: Fedora > Version 18 / CentOS 7.x / RHEL 7.x
|
||||
### Dependencies: Fedora > Version 18
|
||||
```sh
|
||||
sudo dnf install libcurl-devel
|
||||
sudo dnf install sqlite-devel
|
||||
|
|
|
@ -68,7 +68,7 @@ struct Database
|
|||
{
|
||||
int userVersion;
|
||||
extern (C) int callback(void* user_version, int count, char** column_text, char** column_name) {
|
||||
import std.c.stdlib: atoi;
|
||||
import core.stdc.stdlib;
|
||||
*(cast(int*) user_version) = atoi(*column_text);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue