projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Emit a "do not edit" line to the generated file.
[gnulib.git]
/
lib
/
regex_internal.h
diff --git
a/lib/regex_internal.h
b/lib/regex_internal.h
index
bd12572
..
5c07f93
100644
(file)
--- a/
lib/regex_internal.h
+++ b/
lib/regex_internal.h
@@
-27,8
+27,10
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#if
defined HAVE_LANGINFO_H || defined HAVE_LANGINFO_CODESET || defined
_LIBC
+#if
def
_LIBC
# include <langinfo.h>
# include <langinfo.h>
+#else
+# include "localcharset.h"
#endif
#if defined HAVE_LOCALE_H || defined _LIBC
# include <locale.h>
#endif
#if defined HAVE_LOCALE_H || defined _LIBC
# include <locale.h>
@@
-46,7
+48,7
@@
#endif
/* In case that the system doesn't have isblank(). */
#endif
/* In case that the system doesn't have isblank(). */
-#if !defined _LIBC && !
HAVE_DECL_ISBLANK && !defined isblank
+#if !defined _LIBC && !
(defined isblank || (HAVE_ISBLANK && HAVE_DECL_ISBLANK))
# define isblank(ch) ((ch) == ' ' || (ch) == '\t')
#endif
# define isblank(ch) ((ch) == ' ' || (ch) == '\t')
#endif
@@
-112,9
+114,6
@@
# define __wctype wctype
# define __iswctype iswctype
# define __btowc btowc
# define __wctype wctype
# define __iswctype iswctype
# define __btowc btowc
-# ifndef __mempcpy
-# define __mempcpy mempcpy
-# endif
# define __wcrtomb wcrtomb
# define __regfree regfree
# define attribute_hidden
# define __wcrtomb wcrtomb
# define __regfree regfree
# define attribute_hidden