diff options
Diffstat (limited to 'include/asterisk/strings.h')
-rwxr-xr-x | include/asterisk/strings.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h index 651a576e9..37a5faccd 100755 --- a/include/asterisk/strings.h +++ b/include/asterisk/strings.h @@ -28,6 +28,7 @@ #include "asterisk/inline_api.h" #include "asterisk/compiler.h" +#include "asterisk/compat.h" static inline int ast_strlen_zero(const char *s) { @@ -209,25 +210,6 @@ struct ast_realloca { (ra)->ptr; \ }) -#define HAVE_VASPRINTF -#define HAVE_STRTOQ - -#ifdef __linux__ -#define HAVE_STRCASESTR -#define HAVE_STRNDUP -#define HAVE_STRNLEN -#endif - -#ifdef SOLARIS -#undef HAVE_VASPRINTF -#undef HAVE_STRTOQ -#endif - -#ifdef __CYGWIN__ -#undef HAVE_STRTOQ -typedef unsigned long long uint64_t; -#endif - #ifndef HAVE_STRCASESTR char *strcasestr(const char *, const char *); #endif |