mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
sys/build.rs: SQLITE_HAVE_ISNAN -> HAVE_ISNAN
SQLite treats these flags equivalently. Omitting the SQLITE_ prefix to be more like HAVE_USLEEP, HAVE_LOCALTIME_R.
This commit is contained in:
parent
db64b8dfb0
commit
4504eb0ae0
@ -99,10 +99,10 @@ mod build_bundled {
|
||||
Err(_msg) => false,
|
||||
};
|
||||
if vs_has_nan {
|
||||
cfg.flag("-DSQLITE_HAVE_ISNAN");
|
||||
cfg.flag("-DHAVE_ISNAN");
|
||||
}
|
||||
} else {
|
||||
cfg.flag("-DSQLITE_HAVE_ISNAN");
|
||||
cfg.flag("-DHAVE_ISNAN");
|
||||
}
|
||||
if cfg!(not(target_os = "windows")) {
|
||||
cfg.flag("-DHAVE_LOCALTIME_R");
|
||||
|
Loading…
Reference in New Issue
Block a user