[vlc-commits] Comment out atof and strtof. Android does provide them but the configure does not find them.
Rémi Duraffort
git at videolan.org
Mon Feb 28 19:35:05 CET 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Feb 28 19:17:31 2011 +0100| [06ba6877cb64bc914c9fb8772e5c829baceafa2d] | committer: Rémi Duraffort
Comment out atof and strtof. Android does provide them but the configure does not find them.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=06ba6877cb64bc914c9fb8772e5c829baceafa2d
---
compat/atof.c | 2 ++
compat/strtof.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/compat/atof.c b/compat/atof.c
index c0723d3..f6268fe 100644
--- a/compat/atof.c
+++ b/compat/atof.c
@@ -24,7 +24,9 @@
#include <stdlib.h>
+#ifndef __ANDROID__
double atof (const char *str)
{
return strtod (str, NULL);
}
+#endif
diff --git a/compat/strtof.c b/compat/strtof.c
index 1300da7..db9cb91 100644
--- a/compat/strtof.c
+++ b/compat/strtof.c
@@ -24,7 +24,9 @@
#include <stdlib.h>
+#ifndef __ANDROID__
float strtof (const char *str, char **end)
{
return strtod (str, end);
}
+#endif
More information about the vlc-commits
mailing list