diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 02:19:02 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 02:19:02 +0000 |
commit | a40fa4713e3ea9ad330dadc9613b289998a45b18 (patch) | |
tree | 9fcdb078aedbfd2aba55d94e0cafc5df2f02a7cf /include/asterisk/strings.h | |
parent | 79b38ffbe93fcdc51a6df4a3bfda59af7875e133 (diff) |
first set of Cygwin portability stuff (issue #4678)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6547 f38db490-d61c-443f-a65b-d21fe96a405b
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 |