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:
Dubiousjim 2020-06-10 17:06:16 -04:00 committed by Thom Chiovoloni
parent db64b8dfb0
commit 4504eb0ae0

View File

@ -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");