Browse Source

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

pull/2/head
Rémi Duraffort 16 years ago
parent
commit
06ba6877cb
  1. 2
      compat/atof.c
  2. 2
      compat/strtof.c

2
compat/atof.c

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

2
compat/strtof.c

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

Loading…
Cancel
Save