Resolve compilation issue with dmd-2.081.0 (#48)

* Resolve: Error: module `stdlib` is in file 'std/c/stdlib.d' which cannot be read when using dmd-2.081.0 due to deprication of function - https://dlang.org/changelog/2.081.0.html#remove_std_c
This commit is contained in:
abraunegg 2018-07-04 11:37:00 +10:00 committed by GitHub
parent c750c2fb9c
commit 0109ef6a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}