| 849 | } |
| 850 | |
| 851 | double SDL_atof(const char *string) |
| 852 | { |
| 853 | #ifdef HAVE_ATOF |
| 854 | return atof(string); |
| 855 | #else |
| 856 | return SDL_strtod(string, NULL); |
| 857 | #endif /* HAVE_ATOF */ |
| 858 | } |
| 859 | |
| 860 | long |
| 861 | SDL_strtol(const char *string, char **endp, int base) |