move strtoq into new string files (bug #4740)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-07-20 00:13:15 +00:00
parent 3677a861c8
commit a6b0f6074f
4 changed files with 108 additions and 97 deletions

View File

@@ -198,6 +198,7 @@ struct ast_realloca {
})
#define HAVE_VASPRINTF
#define HAVE_STRTOQ
#ifdef __linux__
#define HAVE_STRCASESTR
@@ -207,6 +208,12 @@ struct ast_realloca {
#ifdef SOLARIS
#undef HAVE_VASPRINTF
#undef HAVE_STRTOQ
#endif
#ifdef __CYGWIN__
#undef HAVE_STRTOQ
typedef unsigned long long uint64_t;
#endif
#ifndef HAVE_STRCASESTR
@@ -225,4 +232,8 @@ size_t strnlen(const char *, size_t);
int vasprintf(char **strp, const char *fmt, va_list ap);
#endif
#ifndef HAVE_STRTOQ
uint64_t strtoq(const char *nptr, char **endptr, int base);
#endif
#endif /* _ASTERISK_STRINGS_H */