Mercurial > ~mikael > mcabber > hg
diff mcabber/src/utils.h @ 803:8f8d8f8157a2
Take care of the strcasestr lacking (Cygwin)
author | Soren Andersen <somian@pobox.com> |
---|---|
date | Mon, 10 Apr 2006 23:30:39 +0200 |
parents | 1c3620668857 |
children | 527d6f234924 |
line wrap: on
line diff
--- a/mcabber/src/utils.h Mon Apr 10 23:25:32 2006 +0200 +++ b/mcabber/src/utils.h Mon Apr 10 23:30:39 2006 +0200 @@ -1,6 +1,8 @@ #ifndef __UTILS_H__ #define __UTILS_H__ 1 +#include <config.h> + extern char *LocaleCharSet; #define to_utf8(s) ((s) ? g_locale_to_utf8((s), -1, NULL,NULL,NULL) : NULL) @@ -30,6 +32,10 @@ void replace_nl_with_dots(char *bufstr); char *ut_expand_tabs(const char *text); +#if !defined (HAVE_STRCASESTR) +char *strcasestr(const char *haystack, const char *needle); #endif +#endif // __UTILS_H__ + /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */