From: RĂ©mi Duraffort Date: Mon, 28 Feb 2011 18:17:31 +0000 (+0100) Subject: Comment out atof and strtof. Android does provide them but the configure does not... X-Git-Tag: 1.2.0-pre1~3594 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=06ba6877cb64bc914c9fb8772e5c829baceafa2d;p=vlc Comment out atof and strtof. Android does provide them but the configure does not find them. --- diff --git a/compat/atof.c b/compat/atof.c index c0723d3b30..f6268fe692 100644 --- a/compat/atof.c +++ b/compat/atof.c @@ -24,7 +24,9 @@ #include +#ifndef __ANDROID__ double atof (const char *str) { return strtod (str, NULL); } +#endif diff --git a/compat/strtof.c b/compat/strtof.c index 1300da73ec..db9cb91aec 100644 --- a/compat/strtof.c +++ b/compat/strtof.c @@ -24,7 +24,9 @@ #include +#ifndef __ANDROID__ float strtof (const char *str, char **end) { return strtod (str, end); } +#endif