]> git.sesse.net Git - vlc/commitdiff
Comment out atof and strtof. Android does provide them but the configure does not...
authorRémi Duraffort <ivoire@videolan.org>
Mon, 28 Feb 2011 18:17:31 +0000 (19:17 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 28 Feb 2011 18:17:31 +0000 (19:17 +0100)
compat/atof.c
compat/strtof.c

index c0723d3b3044b8dc1fed9baa5e9932c8a214b4ae..f6268fe69258d64fdc90d84a38aad55c8bb6713a 100644 (file)
@@ -24,7 +24,9 @@
 
 #include <stdlib.h>
 
+#ifndef __ANDROID__
 double atof (const char *str)
 {
     return strtod (str, NULL);
 }
+#endif
index 1300da73ec19e853b4caf5264bb5bfe08c903755..db9cb91aecf02f065ed27b67723079e5784a3024 100644 (file)
@@ -24,7 +24,9 @@
 
 #include <stdlib.h>
 
+#ifndef __ANDROID__
 float strtof (const char *str, char **end)
 {
     return strtod (str, end);
 }
+#endif