diff options
author | Bruno Haible <bruno@clisp.org> | 2008-12-22 12:11:44 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-12-22 12:11:44 +0100 |
commit | 4eda4ba54f3cf29f6b7fe4458e719cd2325be4c4 (patch) | |
tree | 73f83433f8d40c84f098fb4e179b97f1dbcc2cba /lib/mbssep.c | |
parent | 3e2e5dc1f6ded97ce60498e3ceb67fca5a41b8a8 (diff) | |
download | gnulib-4eda4ba54f3cf29f6b7fe4458e719cd2325be4c4.tar.gz |
Remove HAVE_MBRTOWC conditionals. Use mbrtowc unconditionally.
Diffstat (limited to 'lib/mbssep.c')
-rw-r--r-- | lib/mbssep.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/mbssep.c b/lib/mbssep.c index a19f68fa91..3a9b530eed 100644 --- a/lib/mbssep.c +++ b/lib/mbssep.c @@ -1,5 +1,5 @@ /* Tokenizing a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2007. This program is free software: you can redistribute it and/or modify @@ -20,14 +20,11 @@ /* Specification. */ #include <string.h> -#if HAVE_MBRTOWC -# include "mbuiter.h" -#endif +#include "mbuiter.h" char * mbssep (char **stringp, const char *delim) { -#if HAVE_MBRTOWC if (MB_CUR_MAX > 1) { char *start = *stringp; @@ -60,6 +57,5 @@ mbssep (char **stringp, const char *delim) } } else -#endif return strsep (stringp, delim); } |