1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

Comment out atof and strtof. Android does provide them but the configure does not find them.

This commit is contained in:
Rémi Duraffort 2011-02-28 19:17:31 +01:00
parent ed4914971f
commit 06ba6877cb
2 changed files with 4 additions and 0 deletions

View File

@ -24,7 +24,9 @@
#include <stdlib.h> #include <stdlib.h>
#ifndef __ANDROID__
double atof (const char *str) double atof (const char *str)
{ {
return strtod (str, NULL); return strtod (str, NULL);
} }
#endif

View File

@ -24,7 +24,9 @@
#include <stdlib.h> #include <stdlib.h>
#ifndef __ANDROID__
float strtof (const char *str, char **end) float strtof (const char *str, char **end)
{ {
return strtod (str, end); return strtod (str, end);
} }
#endif