summaryrefslogtreecommitdiff
path: root/include/asterisk/strings.h
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-09-08 02:19:02 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-09-08 02:19:02 +0000
commit4c2377ddd997f39a91584d4f14121d20c64fe87d (patch)
tree9fcdb078aedbfd2aba55d94e0cafc5df2f02a7cf /include/asterisk/strings.h
parentb9c919ca3e1cdf6609a4eddd3dc3a6482dc6f94e (diff)
first set of Cygwin portability stuff (issue #4678)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/strings.h')
-rwxr-xr-xinclude/asterisk/strings.h20
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