Define strtold in C until Rust and cbindgen can use f128

This commit is contained in:
Jeremy Soller
2024-01-12 12:21:20 -07:00
parent 17ac6ef039
commit eb3b93d14a
5 changed files with 59 additions and 5 deletions
+1 -3
View File
@@ -5,9 +5,7 @@
extern "C" {
#endif
long double strtold(const char *nptr, char **endptr) {
return (long double)strtod(nptr, endptr);
}
long double strtold(const char *nptr, char **endptr);
#ifdef __cplusplus
} // extern "C"