Commit 06ba6877 authored by Rémi Duraffort's avatar Rémi Duraffort

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

parent ed491497
...@@ -24,7 +24,9 @@ ...@@ -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
...@@ -24,7 +24,9 @@ ...@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment